From 544b638ebfcc68612712c96d721b883bcb679f73 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 2 Jan 2013 18:09:50 +0000 Subject: [PATCH] [clib] Fixed an incorrect bounds check Resolves Issue 135. --- src/clib/ct.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clib/ct.cpp b/src/clib/ct.cpp index 56faf6ad9..c4b075e23 100644 --- a/src/clib/ct.cpp +++ b/src/clib/ct.cpp @@ -302,7 +302,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;