Skip to content

Tempus: Fixed some FPEs.

James Willenbring requested to merge tempus_4169_FPEs into develop

Created by: ccober6

Replaced the usage std::numeric_limits::max() for the default values as it can cause FPEs. Rebaselined the Integrator tests as it checks the default values.

All tests pass on MacOS.

#4169 (closed)

@trilinos/tempus

Description

Replaced std::numeric_limits::max() with 1.0e+99, and std::numeric_limits::max() with 1000000000.

Motivation and Context

Avoid FPEs.

How Has This Been Tested?

All test pass on MacOS.

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • All new and existing tests passed.
  • No new compiler warnings were introduced.
  • These changes break backwards compatibility.

Merge request reports