use omp_get_max_threads if setNbThreads is not set

Reference issue

Fixes #2887 (closed)

What does this implement/fix?

This MR restores the behavior documented in https://eigen.tuxfamily.org/dox/TopicMultiThreading.html. Currently, eigen does not parallelize if setNbThreads is not set. The MR uses omp_get_max_threads if setNbThreads is not set.

Merge request reports

Loading