Skip to content

Commit

Permalink
[Thermo] Fix invalid memory usage in PDSS_SSVol
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Aug 14, 2017
1 parent a19b2bd commit 286217d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/thermo/PDSS_SSVol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ namespace Cantera

PDSS_SSVol::PDSS_SSVol()
: volumeModel_(SSVolume_Model::tpoly)
, TCoeff_(4, 0.0)
{
TCoeff_[0] = 0.0;
TCoeff_[1] = 0.0;
TCoeff_[2] = 0.0;
}

void PDSS_SSVol::setParametersFromXML(const XML_Node& speciesNode)
Expand Down

0 comments on commit 286217d

Please sign in to comment.