Skip to content

Commit ba1c6bb

Browse files
committed
now need virtual on modifyCoefficient
1 parent 82d324e commit ba1c6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OsiClp/OsiClpSolverInterface.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,8 @@ class OSICLPLIB_EXPORT OsiClpSolverInterface : virtual public OsiSolverInterface
841841
virtual void addRows(const int numrows,
842842
const CoinBigIndex *rowStarts, const int *columns, const double *element,
843843
const double *rowlb, const double *rowub);
844-
///
845-
void modifyCoefficient(int row, int column, double newElement,
844+
/// modify one coefficient
845+
virtual void modifyCoefficient(int row, int column, double newElement,
846846
bool keepZero = false)
847847
{
848848
modelPtr_->modifyCoefficient(row, column, newElement, keepZero);

0 commit comments

Comments
 (0)