Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
ba977666
Commit
ba977666
authored
Oct 06, 2017
by
Sophie Schönherr
Committed by
Jose Ignacio Monreal Bailey
Aug 20, 2019
Browse files
Fixed infinity-loop on simulation end
parent
d46e3802
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/movement/VehicleMovementModel.java
View file @
ba977666
...
...
@@ -291,7 +291,9 @@ public class VehicleMovementModel implements MovementModel, EventHandler, Future
long
currentTime
=
Time
.
getCurrentTime
()
/
timestepConversion
;
while
(
_controller
.
getStep
()
-
_controller
.
getStart
()
<
currentTime
)
{
_controller
.
nextStep
();
if
(!
_controller
.
nextStep
())
{
return
;
}
}
List
<
String
>
allVehicles
=
_controller
.
getAllVehicles
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment