static_casts to eliminate VC++ warnings.
This commit is contained in:
parent
056769913f
commit
b186f70d83
1 changed files with 4 additions and 4 deletions
|
|
@ -53,8 +53,8 @@ namespace Cantera {
|
|||
void outputTEC(ostream &s, string title, const vector<string>& names,
|
||||
const Array2D& data) {
|
||||
int i,j;
|
||||
int npts = data.nColumns();
|
||||
int nv = data.nRows();
|
||||
int npts = static_cast<int>(data.nColumns());
|
||||
int nv = static_cast<int>(data.nRows());
|
||||
s << "TITLE = \"" + title + "\"" << endl;
|
||||
s << "VARIABLES = " << endl;
|
||||
for (i = 0; i < nv; i++) {
|
||||
|
|
@ -84,8 +84,8 @@ namespace Cantera {
|
|||
void outputExcel(ostream &s, string title, const vector<string>& names,
|
||||
const Array2D& data) {
|
||||
int i,j;
|
||||
int npts = data.nColumns();
|
||||
int nv = data.nRows();
|
||||
int npts = static_cast<int>(data.nColumns());
|
||||
int nv = static_cast<int>(data.nRows());
|
||||
s << title + "," << endl;
|
||||
for (i = 0; i < nv; i++) {
|
||||
s << names[i] << ",";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue