From a225f3a9d2ddcf30130e08bc6a8e3bc73d8fe6b8 Mon Sep 17 00:00:00 2001 From: joaorebelo-megum Date: Fri, 12 Apr 2024 15:48:51 +0100 Subject: [PATCH] Fixup: Add comment --- .../AnalyticData/Xcts/BinaryWithGravitationalWaves.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PointwiseFunctions/AnalyticData/Xcts/BinaryWithGravitationalWaves.cpp b/src/PointwiseFunctions/AnalyticData/Xcts/BinaryWithGravitationalWaves.cpp index db3434f940177..2b1811c358ca4 100644 --- a/src/PointwiseFunctions/AnalyticData/Xcts/BinaryWithGravitationalWaves.cpp +++ b/src/PointwiseFunctions/AnalyticData/Xcts/BinaryWithGravitationalWaves.cpp @@ -883,6 +883,7 @@ void BinaryWithGravitationalWavesVariables< using boost::math::interpolators::cardinal_cubic_hermite; for (size_t i = 0; i < 3; ++i) { + // static_cast being used because boost requires non-const arrays interpolation_position_left.at(i) = cardinal_cubic_hermite( static_cast>(past_position_left.at(i)), static_cast>(past_dt_position_left.at(i)),