diff --git a/src/clib/ct.cpp b/src/clib/ct.cpp index 178223fea..f26391c2a 100644 --- a/src/clib/ct.cpp +++ b/src/clib/ct.cpp @@ -280,7 +280,7 @@ extern "C" { { try { ThermoPhase& p = ThermoCabinet::item(n); - p.checkElementArraySize(lenm); + p.checkSpeciesArraySize(lenm); const vector_fp& wt = p.molecularWeights(); copy(wt.begin(), wt.end(), mw); return 0;