Changes to avoid NaNs with clang debug builds.
Created by: krcb
@trilinos/tempus
Description
Ensure that Teuchos::ScalarTraits::squareroot is called with a type that the compiler can infer.
Motivation and Context
Avoid NaNs
Checklist
-
My commit messages mention the appropriate GitHub issue numbers. -
My code follows the code style of the affected package(s). -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the code contribution guidelines for this project. -
I have added tests to cover my changes. -
All new and existing tests passed. -
No new compiler warnings were introduced. -
These changes break backwards compatibility.