[Thermo] Show values in setDensity / setTemperature exceptions
This commit is contained in:
parent
24940aeef7
commit
ebc478f8ec
1 changed files with 2 additions and 2 deletions
|
|
@ -624,7 +624,7 @@ public:
|
|||
m_dens = density_;
|
||||
} else {
|
||||
throw CanteraError("Phase::setDensity()",
|
||||
"density must be positive");
|
||||
"density must be positive. density = {}", density_);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -639,7 +639,7 @@ public:
|
|||
m_temp = temp;
|
||||
} else {
|
||||
throw CanteraError("Phase::setTemperature",
|
||||
"temperature must be positive");
|
||||
"temperature must be positive. T = {}", temp);
|
||||
}
|
||||
}
|
||||
//@}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue