diff --git a/src/EnergyPlus/CurveManager.cc b/src/EnergyPlus/CurveManager.cc index 77a0e811884..e4dd36b8bf2 100644 --- a/src/EnergyPlus/CurveManager.cc +++ b/src/EnergyPlus/CurveManager.cc @@ -2297,7 +2297,7 @@ namespace Curve { // TODO: Actually use this to define output variable units if (indVarInstance.count("unit_type")) { std::string unitType = indVarInstance.at("unit_type").get(); - if (!IsCurveOutputTypeValid(unitType)) { + if (!IsCurveInputTypeValid(unitType)) { ShowSevereError(state, format("{}: Unit Type [{}] is invalid", contextString, unitType)); } }