From 281ff778a8a287a0e9e9f13b6d4877bc1f728818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Oliver=20=22Janonard=22=20Opdenh=C3=B6vel?= Date: Mon, 7 Dec 2020 10:16:54 +0100 Subject: [PATCH] Fixing a typo --- examples/fdtd/src/fdtd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fdtd/src/fdtd.cpp b/examples/fdtd/src/fdtd.cpp index 6618b98..dd07223 100644 --- a/examples/fdtd/src/fdtd.cpp +++ b/examples/fdtd/src/fdtd.cpp @@ -101,7 +101,7 @@ int main(int argc, char **argv) { delta_seconds_per_pass += abs(double(runtimes[i + 1]) - double(runtimes[i])); } - delta_seconds_per_pass = (delta_seconds_per_pass / (runtimes.size() - 1)) * (pipeline_length / paraemeters.n_sample_steps); + delta_seconds_per_pass = (delta_seconds_per_pass / (runtimes.size() - 1)) * (pipeline_length / parameters.n_sample_steps); std::cout << "Time per buffer pass: " << delta_seconds_per_pass << "s" << std::endl;