Skip to content

Commit

Permalink
Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Dec 16, 2024
1 parent d70370d commit 0f0ad0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ std::unique_ptr<CumulationConstraint> cumulationConstraintFromVariable(const std
{
return std::make_unique<NettingCumulationConstraint>();
}
throw false; // TODO custom exception
throw std::invalid_argument("Invalid cumulation constraint type");
}

char ConvertSign(const std::string& sign)
Expand Down

0 comments on commit 0f0ad0d

Please sign in to comment.