We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c39fc17 commit 548eec0Copy full SHA for 548eec0
1 file changed
highs/ipm/hipo/factorhighs/FactorHighs_c_api.cpp
@@ -6,9 +6,9 @@
6
7
HighsInt FactorHighs_initialise(HighsInt threads) {
8
highs::parallel::initialize_scheduler(threads);
9
- bool status = HighsExternalApi::isAvailable<HighsExtras::hipo>();
10
- HighsExtras::blas::openblas_set_num_threads(1);
11
- return !status;
+ bool hipo_available = HighsExternalApi::isAvailable<HighsExtras::hipo>();
+ if (hipo_available) HighsExtras::blas::openblas_set_num_threads(1);
+ return !hipo_available;
12
}
13
14
void FactorHighs_terminate(void) { HighsTaskExecutor::shutdown(true); }
0 commit comments