ICB-DCM / parPE

Parameter estimation for dynamical models using high-performance computing, batch and mini-batch optimizers, and dynamic load balancing.
MIT License
20 stars 4 forks source link

Fix data race in aggregateLikelihood #411

Closed dweindl closed 4 days ago

dweindl commented 4 days ago

Fixes a data race in case of multi-threaded simulations. nllh, objectiveFunctionGradient and simulationTimeSec are potentially updated by different threads at the same time.

sonarcloud[bot] commented 4 days ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud