[clib] Fixed an incorrect bounds check

Resolves Issue 135.
This commit is contained in:
Ray Speth 2013-01-02 18:09:50 +00:00
parent 5b423847f2
commit 544b638ebf

View file

@ -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;