opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
758 stars 307 forks source link

Use all available hardware threads in `PolynomialPathFitter` #3818

Closed nickbianco closed 1 week ago

nickbianco commented 1 week ago

Brief summary of changes

This change updates the number of threads used by PolynomialPathFitter to the total number of available hardware threads. Previously it used the number of hardware threads minus two, which obviously is an issue if there are only two threads available.

Testing I've completed

Tested the PolynomialPathFitter examples locally and ran test suite.

Looking for feedback on...

CHANGELOG.md (choose one)


This change is Reviewable