From a1854ff1e5bfb3660d2577ed8a36c5b5e220121a Mon Sep 17 00:00:00 2001 From: Rahil Doshi <rahil.doshi@fau.de> Date: Mon, 24 Mar 2025 15:29:38 +0100 Subject: [PATCH] Update interpolation test --- tests/cpp/test_interpolation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cpp/test_interpolation.cpp b/tests/cpp/test_interpolation.cpp index a5df714..c5b6fd0 100644 --- a/tests/cpp/test_interpolation.cpp +++ b/tests/cpp/test_interpolation.cpp @@ -201,9 +201,9 @@ void test_performance() { // Generate random values std::random_device rd; std::mt19937 gen(rd()); - constexpr double E_min = SS304L::E_neq.front() * 0.8; - constexpr double E_max = SS304L::E_neq.back() * 1.2; - std::uniform_real_distribution<double> dist(E_min, E_max); + constexpr double y_min = SS304L::y_neq.front() * 0.8; + constexpr double y_max = SS304L::y_neq.back() * 1.2; + std::uniform_real_distribution<double> dist(y_min, y_max); // Fill random energies for(auto& E : random_energies) { -- GitLab