Skip to content

Commit

Permalink
when IDIC is not set, add a check: isLowerObjInt_
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxies authored and tkralphs committed Nov 30, 2023
1 parent 0372716 commit 964056b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MibSModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3845,7 +3845,8 @@ MibSModel::adjustParameters()
paramValue = MibSPar_->entry(MibSParams::useImprovingDirectionIC);

if (paramValue == PARAM_NOTSET){
if (isPureInteger_ == false || isLowerCoeffInt_ == false || isInterdict_ == true){
if (isPureInteger_ == false || isLowerCoeffInt_ == false ||
isLowerObjInt_ == false || isInterdict_ == true){
MibSPar()->setEntry(MibSParams::useImprovingDirectionIC, PARAM_OFF);
}else{
MibSPar()->setEntry(MibSParams::useImprovingDirectionIC, PARAM_ON);
Expand Down

0 comments on commit 964056b

Please sign in to comment.