Skip to content

Commit

Permalink
Fixed conversion 'error'
Browse files Browse the repository at this point in the history
  • Loading branch information
drreynolds committed Oct 23, 2024
1 parent e5645fe commit 700e47f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/arkode/CXX_serial/ark_kpr_nestedmri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1074,12 +1074,12 @@ int main(int argc, char* argv[])
retval = ARKodeGetNumJacEvals(arkode_mem, &njes);
check_flag(retval, "ARKodeGetNumJacEvals");
std::cout << " Slow Newton iters = " << nnis << std::endl;
std::cout << " Slow Newton iters/attempt = " << (sunrealtype)nnis / natts
<< std::endl;
std::cout << " Slow Newton iters/attempt = "
<< (sunrealtype)nnis / (sunrealtype)natts << std::endl;
std::cout << " Slow Newton conv fails = " << nncs << std::endl;
std::cout << " Slow Jacobian evals = " << njes << std::endl;
std::cout << " Slow Jacobian evals/Newton = " << (sunrealtype)njes / nnis
<< std::endl;
std::cout << " Slow Jacobian evals/Newton = "
<< (sunrealtype)njes / (sunrealtype)nnis << std::endl;
}

// Get/print intermediate integrator implicit solver statistics
Expand All @@ -1092,11 +1092,11 @@ int main(int argc, char* argv[])
check_flag(retval, "ARKodeGetNumJacEvals");
std::cout << " Intermediate Newton iters = " << nnim << std::endl;
std::cout << " Intermediate Newton iters/attempt = "
<< (sunrealtype)nnim / nattm << std::endl;
<< (sunrealtype)nnim / (sunrealtype)nattm << std::endl;
std::cout << " Intermediate Newton conv fails = " << nncm << std::endl;
std::cout << " Intermediate Jacobian evals = " << njem << std::endl;
std::cout << " Intermediate Jacobian evals/Newton = "
<< (sunrealtype)njem / nnim << std::endl;
<< (sunrealtype)njem / (sunrealtype)nnim << std::endl;
}

// Clean up and return
Expand Down

0 comments on commit 700e47f

Please sign in to comment.