Fixed an error that was making the diamond test problem fail.

This commit is contained in:
Harry Moffat 2004-07-08 20:32:49 +00:00
parent 8cd8b97900
commit bd2f0d9c22

View file

@ -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);
}