Skip to content

Commit

Permalink
Fixing a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JOOpdenhoevel committed Dec 7, 2020
1 parent 6a8b207 commit 281ff77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fdtd/src/fdtd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 281ff77

Please sign in to comment.