diff --git a/include/cantera/thermo/GibbsExcessVPSSTP.h b/include/cantera/thermo/GibbsExcessVPSSTP.h index df8c0d7fa..c91cadb63 100644 --- a/include/cantera/thermo/GibbsExcessVPSSTP.h +++ b/include/cantera/thermo/GibbsExcessVPSSTP.h @@ -374,7 +374,7 @@ public: * Length = m_kk. units are m^3/kmol. */ virtual void getPartialMolarVolumes(doublereal* vbar) const; - virtual const vector_fp& getPartialMolarVolumes() const; + virtual const vector_fp& getPartialMolarVolumesVector() const; /** * @} diff --git a/src/thermo/GibbsExcessVPSSTP.cpp b/src/thermo/GibbsExcessVPSSTP.cpp index d06fbf575..b1f4ed292 100644 --- a/src/thermo/GibbsExcessVPSSTP.cpp +++ b/src/thermo/GibbsExcessVPSSTP.cpp @@ -126,7 +126,7 @@ void GibbsExcessVPSSTP::setPressure(doublereal p) void GibbsExcessVPSSTP::calcDensity() { - vector_fp vbar = getPartialMolarVolumes(); + vector_fp vbar = getPartialMolarVolumesVector(); // double *vbar = &m_pp[0]; // getPartialMolarVolumes(&vbar[0]); @@ -223,7 +223,7 @@ void GibbsExcessVPSSTP::getPartialMolarVolumes(doublereal* vbar) const getStandardVolumes(vbar); } -const vector_fp& GibbsExcessVPSSTP::getPartialMolarVolumes() const +const vector_fp& GibbsExcessVPSSTP::getPartialMolarVolumesVector() const { return getStandardVolumes(); }