Fixed a compilation error that popped up on SUSE 9.0.
This commit is contained in:
parent
c92ab96ffd
commit
6aa9c846f4
2 changed files with 2 additions and 3 deletions
|
|
@ -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];
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue