diff --git a/src/Backends/Tabular/BicubicBackend.cpp b/src/Backends/Tabular/BicubicBackend.cpp index 2eb1b04e..d8d7fd60 100644 --- a/src/Backends/Tabular/BicubicBackend.cpp +++ b/src/Backends/Tabular/BicubicBackend.cpp @@ -142,13 +142,13 @@ void CoolProp::BicubicBackend::update(CoolProp::input_pairs input_pair, double v // Call again, but this time with molar units; S: [J/kg/K] * [kg/mol] -> [J/mol/K] update(PSmolar_INPUTS, val1, val2*AS->molar_mass()); return; } - case PT_INPUTS:{ + case PT_INPUTS:{ _p = val1; _T = val2; if (!single_phase_logpT.native_inputs_are_in_range(_T, _p)){ // Use the AbstractState instance using_single_phase_table = false; if (get_debug_level() > 5){ std::cout << "inputs are not in range"; } - throw ValueError(format("inputs are not in range, p=%Lg, T=%Lg", _p, _T)); + throw ValueError(format("inputs are not in range, p=%g Pa, T=%g K", _p, _T)); } else{ using_single_phase_table = true; // Use the table ! @@ -547,4 +547,4 @@ void CoolProp::BicubicBackend::invert_single_phase_y(const SinglePhaseGriddedTab } } -#endif // !defined(NO_TABULAR_BACKENDS) \ No newline at end of file +#endif // !defined(NO_TABULAR_BACKENDS)