static_cast added to avoid VC++ compiler issues.
This commit is contained in:
parent
40836cf9c2
commit
db9f2b1b87
1 changed files with 2 additions and 2 deletions
|
|
@ -187,8 +187,8 @@ namespace Cantera {
|
|||
|
||||
/// output the array
|
||||
inline ostream& operator<<(ostream& s, const Array2D& m) {
|
||||
int nr = m.nRows();
|
||||
int nc = m.nColumns();
|
||||
int nr = static_cast<int>(m.nRows());
|
||||
int nc = static_cast<int>(m.nColumns());
|
||||
int i,j;
|
||||
for (i = 0; i < nr; i++) {
|
||||
for (j = 0; j < nc; j++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue