[clib] Fixed an incorrect bounds check
Resolves Issue 135.
This commit is contained in:
parent
5b423847f2
commit
544b638ebf
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue