From bdb3eea92fdbf6f1c4c0ead2de65235ac435f2f7 Mon Sep 17 00:00:00 2001 From: Frank Dana Date: Tue, 22 Dec 2020 00:39:59 -0500 Subject: [PATCH] Correct OpenMP function name (#601) --- src/OpenMPUtilities.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenMPUtilities.h b/src/OpenMPUtilities.h index b523bbd1..4d4cc2cc 100644 --- a/src/OpenMPUtilities.h +++ b/src/OpenMPUtilities.h @@ -44,7 +44,7 @@ // Set max-active-levels to the max supported, if possible // (supported_active_levels is OpenMP 5.0 (November 2018) or later, only.) #if (_OPENMP >= 201811) - #define OPEN_MP_MAX_ACTIVE openmp_get_supported_active_levels() + #define OPEN_MP_MAX_ACTIVE omp_get_supported_active_levels() #else #define OPEN_MP_MAX_ACTIVE OPEN_MP_NUM_PROCESSORS #endif