Fixed an error that was making the diamond test problem fail.
This commit is contained in:
parent
8cd8b97900
commit
bd2f0d9c22
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ namespace Cantera {
|
|||
}
|
||||
|
||||
void StoichSubstance::setParametersFromXML(const XML_Node& eosdata) {
|
||||
eosdata.require("model","Incompressible");
|
||||
eosdata.require("model","StoichSubstance");
|
||||
doublereal rho = getFloat(eosdata, "density", "-");
|
||||
setDensity(rho);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue