Skip to content

Commit 8a63db0

Browse files
committed
Check for substring instead
1 parent 54a6d0e commit 8a63db0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

highs/ipm/hipo/ipm/FactorHiGHSSolver.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,7 @@ void FactorHiGHSSolver::setParallel() {
598598
assert(1 == 0);
599599

600600
} else if (options_.parallel == kHighsChooseString) {
601-
if (strcmp(HighsExtras::blas::getInfo()->provider, "Apple Accelerate") ==
602-
0) {
601+
if (strstr(HighsExtras::blas::getInfo()->provider, "apple")) {
603602
// Blas on Apple do not work well with parallel_node, but parallel_tree
604603
// seems to always be beneficial.
605604
parallel_node = false;

0 commit comments

Comments
 (0)