mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
removed debuging message
This commit is contained in:
parent
fa6d4d9734
commit
134bb71401
@ -834,11 +834,6 @@ int MixtureFugacityTP::solveCubic(double T, double pres, double a, double b,
|
||||
//check if y = h
|
||||
if (fabs(fabs(h) - fabs(yN)) < 1.0E-10) {
|
||||
if (disc > 1e-10) {
|
||||
std::cout<<"yn: "<<yn<<" h: "<<h<<" disc: "<<disc<<std::endl;
|
||||
writelog("MixtureFugacityTP::solveCubic(T ={}, p ={}):"
|
||||
"X1: {}, X2: {}\n",
|
||||
T, pres
|
||||
, moleFractions_[0], moleFractions_[1]);
|
||||
throw CanteraError("MixtureFugacityTP::solveCubic",
|
||||
"value of yN and h are too high, unrealistic roots may be obtained"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user