Fixed a compilation error that popped up on SUSE 9.0.

This commit is contained in:
Harry Moffat 2006-08-14 19:18:34 +00:00
parent c92ab96ffd
commit 6aa9c846f4
2 changed files with 2 additions and 3 deletions

View file

@ -330,10 +330,9 @@ namespace Cantera {
* *
*/ */
doublereal IdealMolalSoln::standardConcentration(int k) const { doublereal IdealMolalSoln::standardConcentration(int k) const {
double c0, mvSolvent; double c0 = 1.0, mvSolvent;
switch (m_formGC) { switch (m_formGC) {
case 0: case 0:
c0 = 1.0;
break; break;
case 1: case 1:
c0 = 1.0 /m_speciesMolarVolume[m_indexSolvent]; c0 = 1.0 /m_speciesMolarVolume[m_indexSolvent];

View file

@ -17,7 +17,7 @@
#define CT_WATERPDSS_H #define CT_WATERPDSS_H
#include "ct_defs.h" #include "ct_defs.h"
#include "PDSS.h" #include "PDSS.h"
class XML_Node; //class XML_Node;
#include "ThermoPhase.h" #include "ThermoPhase.h"
class WaterPropsIAPWS; class WaterPropsIAPWS;