Skip to content

Commit ad89aa4

Browse files
partitioning ILP fix
1 parent 8bd89c0 commit ad89aa4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/osp/partitioning/model/partitioning_problem.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class PartitioningProblem {
3939
HypergraphT hgraph_;
4040

4141
unsigned nrOfPartitions_;
42-
WorkwType maxWorkWeightPerPartition_;
43-
MemwType maxMemoryWeightPerPartition_;
42+
WorkwType maxWorkWeightPerPartition_ = std::numeric_limits<WorkwType>::max();
43+
MemwType maxMemoryWeightPerPartition_ = std::numeric_limits<MemwType>::max();
4444

4545
bool allowsReplication_ = false;
4646

0 commit comments

Comments
 (0)