Only include <atomic> if needed.

This commit is contained in:
Rasmus Munk Larsen
2021-12-02 23:55:25 +00:00
parent 4ee2e9b340
commit 3ffefcb95c
2 changed files with 6 additions and 7 deletions

View File

@@ -67,6 +67,7 @@
#endif
#ifdef EIGEN_HAS_OPENMP
#include <atomic>
#include <omp.h>
#endif