Skip to content

Commit 544b638

Browse files
committed
[clib] Fixed an incorrect bounds check
Resolves Issue 135.
1 parent 5b42384 commit 544b638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clib/ct.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ extern "C" {
302302
{
303303
try {
304304
ThermoPhase& p = ThermoCabinet::item(n);
305-
p.checkElementArraySize(lenm);
305+
p.checkSpeciesArraySize(lenm);
306306
const vector_fp& wt = p.molecularWeights();
307307
copy(wt.begin(), wt.end(), mw);
308308
return 0;

0 commit comments

Comments
 (0)