Skip to content

Commit

Permalink
Remove duplicate check
Browse files Browse the repository at this point in the history
  • Loading branch information
metab0t committed Jun 29, 2024
1 parent f7634a0 commit bcd9163
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/highs_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,6 @@ void POIHighsModel::write(const std::string &filename)
VariableIndex POIHighsModel::add_variable(VariableDomain domain, double lb, double ub,
const char *name)
{
if (name != nullptr && name[0] == '\0')
{
name = nullptr;
}
IndexT index = m_variable_index.add_index();
VariableIndex variable(index);

Expand Down

0 comments on commit bcd9163

Please sign in to comment.