Skip to content

Commit

Permalink
Merge pull request #257 from Argonne-National-Laboratory/issue#254_re…
Browse files Browse the repository at this point in the history
…lease

separated has_integer check from the loop
  • Loading branch information
kibaekkim authored Mar 2, 2023
2 parents 9360074 + 81d2cea commit a000f10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Solver/DualDecomp/DdWorkerUB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ DSP_RTN_CODE DdWorkerUB::createProblem() {
for (int j = 0; j < mat_reco->getNumCols(); ++j)
{
obj_reco[j] *= tss->getProbability()[sind];
}

for (int j = 0; j < mat_reco->getNumCols(); ++j)
{
if (ctype_reco[j] != 'C')
{
has_integer = true;
Expand Down

0 comments on commit a000f10

Please sign in to comment.