Fixed missing documentation

This commit is contained in:
Tor Harald Sandve 2014-01-24 13:14:08 +01:00
parent ed02b4a91f
commit b2ac4c7aac

View File

@ -470,12 +470,12 @@ namespace {
disgas = true; disgas = true;
} }
for (int c=0;c<nc;c++){ for (int c = 0; c < nc ; c++ ) {
const PhasePresence cond = phaseCondition()[c]; const PhasePresence cond = phaseCondition()[c];
if (not cond.hasFreeGas() & disgas) { if ( (!cond.hasFreeGas()) && disgas ) {
isRs[c] = 1; isRs[c] = 1;
} }
else if (not cond.hasFreeOil() & vapoil){ else if ( (!cond.hasFreeOil()) && vapoil ) {
isRv[c] = 1; isRv[c] = 1;
} }
else { else {
@ -908,12 +908,12 @@ namespace {
} }
const std::vector<PhasePresence> conditions = phaseCondition(); const std::vector<PhasePresence> conditions = phaseCondition();
for (int c=0;c<nc;c++){ for (int c = 0; c < nc; c++ ) {
const PhasePresence cond = conditions[c]; const PhasePresence cond = conditions[c];
if (not cond.hasFreeGas() & disgas) { if ( (!cond.hasFreeGas()) && disgas ) {
isRs[c] = 1; isRs[c] = 1;
} }
else if (not cond.hasFreeOil() & vapoil){ else if ( (!cond.hasFreeOil()) && vapoil ) {
isRv[c] = 1; isRv[c] = 1;
} }
else { else {