From 51c8879feab29a82cbdf427185f34ad8141afeae Mon Sep 17 00:00:00 2001 From: Sam Yates <halfflat@gmail.com> Date: Wed, 24 Mar 2021 14:24:03 +0100 Subject: [PATCH] Fix typos/omission in simulation.cpp comments. (#1455) --- arbor/simulation.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arbor/simulation.cpp b/arbor/simulation.cpp index 4564487d..3ed22957 100644 --- a/arbor/simulation.cpp +++ b/arbor/simulation.cpp @@ -316,8 +316,7 @@ time_type simulation_state::run(time_type tfinal, time_type dt) { // * For k≥0, U(k) and D(k) have completed. // // Requires state at end of run(), with epoch_.id==k: - // * U(k) and D(k) have compelted. - + // * U(k) and D(k) have completed. if (tfinal<=epoch_.t1) return epoch_.t1; @@ -370,7 +369,7 @@ time_type simulation_state::run(time_type tfinal, time_type dt) { }; // Enqueue task: build event_lanes for next epoch from pending events, event-generator events for the - // next epoch, and with any unprocessed events the current event_lanes. + // next epoch, and with any unprocessed events from the current event_lanes. auto enqueue = [this](epoch next) { foreach_cell( [&](cell_size_type i) { -- GitLab