Skip to content

Commit

Permalink
Added records.clear(); to HighsOptions::deleteRecords()
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed May 23, 2024
1 parent f4a2496 commit 6f287a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lp_data/HighsOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,7 @@ class HighsOptions : public HighsOptionsStruct {

void deleteRecords() {
for (size_t i = 0; i < records.size(); i++) delete records[i];
records.clear();
}

public:
Expand Down

0 comments on commit 6f287a4

Please sign in to comment.