Fixed a compilation error on Linux.

This commit is contained in:
Harry Moffat 2005-09-29 21:05:42 +00:00
parent 14efd3f77c
commit c32ef71f0e
2 changed files with 2 additions and 2 deletions

View file

@ -239,7 +239,7 @@ double CarbonDioxide::up() {
sum += G[i]*(pow(T,i) - pow(To,i))/double(i);
for (i=0; i<=6; i++) {
for (int i=0; i<=6; i++) {
sum += I(i,egrho, Gamma) *
( C(i, Tinverse, T2inverse, T3inverse, T4inverse) - T*Cprime(i,T2inverse, T3inverse, T4inverse) );
}

View file

@ -198,7 +198,7 @@ double Heptane::up() {
sum += G[0]*log(T/To);
for (i=0; i<=6; i++) {
for (int i=0; i<=6; i++) {
sum += (C(i, Tinverse, T2inverse, T3inverse, T4inverse) - T*Cprime(i,T2inverse, T3inverse, T4inverse))*I(i,egrho, Gamma);
}