Skip to content
Snippets Groups Projects
Unverified Commit 51c8879f authored by Sam Yates's avatar Sam Yates Committed by GitHub
Browse files

Fix typos/omission in simulation.cpp comments. (#1455)

parent 37ed1ce4
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
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