We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9652ccf commit fcff592Copy full SHA for fcff592
src/kinetics/ReactionFactory.cpp
@@ -253,7 +253,7 @@ bool isThreeBody(const Reaction& R)
253
if (trunc(reac.second) != reac.second) {
254
return false;
255
}
256
- nreac += (size_t)reac.second;
+ nreac += static_cast<size_t>(reac.second);
257
258
259
// ensure that all products have integer stoichiometric coefficients
@@ -262,7 +262,7 @@ bool isThreeBody(const Reaction& R)
262
if (trunc(prod.second) != prod.second) {
263
264
265
- nprod += (size_t)prod.second;
+ nprod += static_cast<size_t>(prod.second);
266
267
268
// either reactant or product side involves exactly three species
0 commit comments