feat: add multi-threading

This commit is contained in:
2023-08-23 14:43:19 +02:00
parent 79f152caad
commit e22e0f6a4c
+1 -1
View File
@@ -21,7 +21,7 @@ function solve(F, (G, roots) = start_system(F), maxsteps=10000)
H=homotopy(F,G)
solutions = []
for r in roots
@time Threads.@threads for r in roots
t = 1.0
step_size = 0.01
x0 = r