diff --git a/src/clib/ct.cpp b/src/clib/ct.cpp index ffe39b49d..911189e71 100644 --- a/src/clib/ct.cpp +++ b/src/clib/ct.cpp @@ -697,7 +697,7 @@ extern "C" { double th_critTemperature(int n) { try { - return ThermoCabinet::get(n).critTemperature(); + return ThermoCabinet::item(n).critTemperature(); } catch (...) { return handleAllExceptions(DERR, DERR); } @@ -706,7 +706,7 @@ extern "C" { double th_critPressure(int n) { try { - return ThermoCabinet::get(n).critPressure(); + return ThermoCabinet::item(n).critPressure(); } catch (...) { return handleAllExceptions(DERR, DERR); } @@ -715,7 +715,7 @@ extern "C" { double th_critDensity(int n) { try { - return ThermoCabinet::get(n).critDensity(); + return ThermoCabinet::item(n).critDensity(); } catch (...) { return handleAllExceptions(DERR, DERR); }