Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
51c8879f
Unverified
Commit
51c8879f
authored
4 years ago
by
Sam Yates
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix typos/omission in simulation.cpp comments. (#1455)
parent
37ed1ce4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arbor/simulation.cpp
+2
-3
2 additions, 3 deletions
arbor/simulation.cpp
with
2 additions
and
3 deletions
arbor/simulation.cpp
+
2
−
3
View file @
51c8879f
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment