Skip to content

Commit

Permalink
fix error if preprocess too efficient on restart model
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Feb 20, 2025
1 parent 03117ee commit fee4149
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CbcModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7563,7 +7563,8 @@ CbcModel::~CbcModel() {
delete solver_;
solver_ = NULL;
}
if (((fastNodeDepth_ >= 1000000 && fastNodeDepth_ < 1001000)
if (((fastNodeDepth_ >= 1000000 && fastNodeDepth_ < 1001000
&& numberObjects_)
|| (moreSpecialOptions_ & 33554432) != 0) &&
(specialOptions_&2048) == 0) {
// delete object off end
Expand Down

0 comments on commit fee4149

Please sign in to comment.