Added a static_cast.
This commit is contained in:
parent
af6b3b8765
commit
dee6810c6f
1 changed files with 1 additions and 1 deletions
|
|
@ -789,7 +789,7 @@ extern "C" {
|
|||
Kinetics* k = kin(n);
|
||||
ThermoPhase* p = &k->thermo();
|
||||
const vector_fp& mw = p->molecularWeights();
|
||||
int nsp = mw.size();
|
||||
int nsp = static_cast<int>(mw.size());
|
||||
double rrho = 1.0/p->density();
|
||||
if (len >= nsp) {
|
||||
k->getNetProductionRates(ydot);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue