Skip to content

Commit

Permalink
Merge pull request #3677 from tjfulle/fix-3676
Browse files Browse the repository at this point in the history
Teuchos: Fix for Issue #3676
  • Loading branch information
mhoemmen authored Oct 24, 2018
2 parents f2b6c0a + a59f89a commit dca877b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/teuchos/core/src/Teuchos_as.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ namespace { // anonymous
// let it pass through, per the rules for propagation of silent
// NaN. (Signaling NaN will signal, but that's OK.)
TEUCHOS_TEST_FOR_EXCEPTION(
x < minVal || x > maxVal,
x < as<InputRealType>(minVal) || x > as<InputRealType>(maxVal),
std::range_error,
"realToReal<" << TypeNameTraits<OutputRealType>::name () << ", "
<< TypeNameTraits<InputRealType>::name () << ">: "
Expand Down

0 comments on commit dca877b

Please sign in to comment.