MilesCranmer commited on
Commit
96d7ed7
1 Parent(s): 6146f6b

Fix multithreading call

Browse files
Files changed (1) hide show
  1. pysr/sr.py +1 -1
pysr/sr.py CHANGED
@@ -593,7 +593,7 @@ def _create_julia_files(
593
  )
594
  else:
595
  print(
596
- f"EquationSearch(X, y, niterations={niterations:d}, varMap={varMap}, options=options, numprocs={cprocs})",
597
  file=f,
598
  )
599
 
 
593
  )
594
  else:
595
  print(
596
+ f"EquationSearch(X, y, niterations={niterations:d}, varMap={varMap}, options=options, numprocs={cprocs}, multithreading={'true' if multithreading else 'false'})",
597
  file=f,
598
  )
599