Fixed a compiler error caused by ambiguous call to sqrt
This commit is contained in:
parent
95e66cd5ff
commit
ee2697b4b8
1 changed files with 1 additions and 1 deletions
|
|
@ -1248,7 +1248,7 @@ namespace Cantera {
|
|||
* Add junk to the Hessian diagonal
|
||||
* -> Note, testing indicates that this will get too big for ill-conditioned systems.
|
||||
*/
|
||||
hcol = sqrt(neq_) * 1.0E-7 * hnorm;
|
||||
hcol = sqrt(static_cast<double>(neq_)) * 1.0E-7 * hnorm;
|
||||
#ifdef DEBUG_HKM_NOT
|
||||
if (hcol > 1.0) {
|
||||
hcol = 1.0E1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue