mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-02-15 16:25:15 -05:00
H & S Ancillaries use value minus value at anchor state
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -130,7 +130,8 @@ namespace cpjson
|
||||
if (!v.IsArray()) {throw CoolProp::ValueError("input is not an array"); }
|
||||
for (rapidjson::Value::ValueIterator itr = v.Begin(); itr != v.End(); ++itr)
|
||||
{
|
||||
cpjson::value_information vi = cpjson::get_information((*itr));
|
||||
// This is here for debugging purposes
|
||||
// cpjson::value_information vi = cpjson::get_information((*itr));
|
||||
if (!(itr->IsArray())) {
|
||||
throw CoolProp::ValueError(format("input \"%s\" is not a 2D array",cpjson::json2string(v).c_str()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user