Skip to content

Commit 5193b26

Browse files
committed
Add missing parantheses
1 parent 560d7be commit 5193b26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

highs/parallel/HighsTaskExecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ unsigned int highs::parallel::available_core_count() {
114114
WORD group = entry->Processor.GroupMask[i].Group;
115115
KAFFINITY mask = entry->Processor.GroupMask[i].Mask;
116116
// Only count cores that match the affinity mask and process groups
117-
if (mask & process_mask &&
117+
if ((mask & process_mask) &&
118118
std::find(process_groups.begin(), process_groups.end(), group) !=
119119
process_groups.end())
120120
physical_cores++;

0 commit comments

Comments
 (0)