Skip to content

Commit 054d8c4

Browse files
committed
Fix bug in required threads check
1 parent 21e87d6 commit 054d8c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/sim.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ end
599599

600600
function run_interactive!(sim::Simulation; pace = 1.0)
601601

602-
req_threads = 2 + length(sim.interfaces) + 2 #GUI + sim loop + interfaces
602+
req_threads = 2 + length(sim.interfaces) #GUI + sim loop + interfaces
603603
threads = Threads.nthreads()
604604
req_threads <= threads || error(
605605
"Running this simulation requires at least $req_threads available

0 commit comments

Comments
 (0)