Skip to content

Commit 2e74ff5

Browse files
committed
fix
1 parent 06e5f7c commit 2e74ff5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/core/util/tests/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ TEST(util_tests, GetNumThreadsEnvUnsetReturn) {
2020
const auto num_threads_env_var = env::get<int>("PPC_NUM_THREADS");
2121

2222
if (num_threads_env_var.has_value()) {
23-
EXPECT_EQ(ppc::util::GetNumThreads(), omp_get_num_threads());
23+
EXPECT_EQ(ppc::util::GetNumThreads(), omp_get_max_threads());
2424
} else {
2525
GTEST_SKIP() << "PPC_NUM_THREADS environment variable is set, skipping test";
2626
}

0 commit comments

Comments
 (0)