Skip to content
Snippets Groups Projects
Commit a1854ff1 authored by Rahil Doshi's avatar Rahil Doshi
Browse files

Update interpolation test

parent d41865b8
Branches
No related merge requests found
Pipeline #77214 passed with stage
in 32 seconds
......@@ -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) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment