JuliaDynamics / NetworkDynamics.jl

Julia package for simulating Dynamics on Networks
https://juliadynamics.github.io/NetworkDynamics.jl/dev/
MIT License
128 stars 13 forks source link

Switch `warn_parallel` to look at number of available threads #135

Closed dave7895 closed 6 months ago

dave7895 commented 6 months ago

Switch from the previous reliance on the environment variable JULIA_NUM_THREADS being set to counting the threads that are currently available via Threads.nthreads()

hexaeder commented 6 months ago

good catch, makes much more sense like this!