From 7f947ff1d1f12519c45b377738e101e62578615e Mon Sep 17 00:00:00 2001 From: Jacob Date: Wed, 27 Oct 2021 22:16:23 +0200 Subject: [PATCH] =?UTF-8?q?H=C3=A4=C3=A4=C3=A4=C3=A4=C3=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- C++/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C++/src/main.cpp b/C++/src/main.cpp index 1805a09..837d22c 100644 --- a/C++/src/main.cpp +++ b/C++/src/main.cpp @@ -90,8 +90,8 @@ void run_no_force(size_t integrator_index, size_t force_index, { std::vector> repeating_computes; for (int i = 1; i < n_computes; ++i) { - repeating_computes.emplace_back(Compute::Type::x, i * 1); - repeating_computes.emplace_back(Compute::Type::x_squared, i * 1); + repeating_computes.emplace_back(Compute::Type::x, i * delta_compute); + repeating_computes.emplace_back(Compute::Type::x_squared, i * delta_compute); } Calculation calc_repeat(integrator, repeating_computes, stepSize, SEED, force, zero_Torque, 1.0);