From 143ce19edd289f05a9129b9d9cbaf59cb7216218 Mon Sep 17 00:00:00 2001 From: Kyle Nelli Date: Wed, 13 Nov 2024 19:39:04 -0500 Subject: [PATCH] fixup. --- .../ShapeMapTransitionFunctions/SphereTransition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Domain/CoordinateMaps/TimeDependent/ShapeMapTransitionFunctions/SphereTransition.cpp b/src/Domain/CoordinateMaps/TimeDependent/ShapeMapTransitionFunctions/SphereTransition.cpp index ebb0ec70c379..e9a92d6e7b56 100644 --- a/src/Domain/CoordinateMaps/TimeDependent/ShapeMapTransitionFunctions/SphereTransition.cpp +++ b/src/Domain/CoordinateMaps/TimeDependent/ShapeMapTransitionFunctions/SphereTransition.cpp @@ -88,7 +88,7 @@ template T SphereTransition::call_impl(const std::array& source_coords) const { T mag = magnitude(source_coords); check_magnitudes(mag, false); - return blaze::clamp(a_ * mag + b_, 0.0, 1.0); + return blaze::clamp(T(a_ * mag + b_), 0.0, 1.0); } template