Skip to content
Snippets Groups Projects
Commit e8cd76ae authored by rojas's avatar rojas
Browse files

Merge origin/master

parents d8f0d4f7 e1355dea
No related branches found
No related tags found
No related merge requests found
...@@ -216,7 +216,7 @@ public class ExampleSimulationProgram ...@@ -216,7 +216,7 @@ public class ExampleSimulationProgram
public void runSimulationLoops () public void runSimulationLoops ()
{ {
try try
{ {
final int SIMULATION_MAX_LOOP_COUNT = 10; // be deliberate out there! also avoid infinite loops. final int SIMULATION_MAX_LOOP_COUNT = 10; // be deliberate out there! also avoid infinite loops.
int simulationLoopCount = 0; // variable, initialized at 0 int simulationLoopCount = 0; // variable, initialized at 0
boolean simulationComplete = false; // sentinel variable as termination condition, are we done yet? boolean simulationComplete = false; // sentinel variable as termination condition, are we done yet?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment