commit | 9f202c6f1e991a986da225a0155ad10c0aea682c | [log] [tgz] |
---|---|---|
author | David Tellenbach <david.tellenbach@me.com> | Thu Oct 01 22:41:01 2020 |
committer | David Tellenbach <david.tellenbach@me.com> | Thu Oct 01 22:41:01 2020 |
tree | 5bed590a18f801c0ffdec83846ad36b383d69445 | |
parent | b933946d638e3d8a95ed98701c5b41f960bceec2 [diff] |
Fix undefined behaviour caused by uncaught exceptions in OMP section An OpenMP parallel section must have a single entry and a single point of exit. Leaving such a section by throwing an exception is undefined. This patch fixes this by catching possible exceptions on the parallel section and throwing right we left it.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.