Skip to content

Commit

Permalink
now need virtual on modifyCoefficient
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Aug 13, 2024
1 parent 82d324e commit ba1c6bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OsiClp/OsiClpSolverInterface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -841,8 +841,8 @@ class OSICLPLIB_EXPORT OsiClpSolverInterface : virtual public OsiSolverInterface
virtual void addRows(const int numrows,
const CoinBigIndex *rowStarts, const int *columns, const double *element,
const double *rowlb, const double *rowub);
///
void modifyCoefficient(int row, int column, double newElement,
/// modify one coefficient
virtual void modifyCoefficient(int row, int column, double newElement,
bool keepZero = false)
{
modelPtr_->modifyCoefficient(row, column, newElement, keepZero);
Expand Down

0 comments on commit ba1c6bb

Please sign in to comment.