diff --git a/src/presolve/HPresolve.cpp b/src/presolve/HPresolve.cpp index dbb7854d94..6c72a06046 100644 --- a/src/presolve/HPresolve.cpp +++ b/src/presolve/HPresolve.cpp @@ -6307,8 +6307,7 @@ void HPresolve::debug(const HighsLp& lp, const HighsOptions& options) { sol = reducedsol; basis = reducedbasis; - postsolve_stack.undoUntil(options, flagRow, flagCol, sol, basis, - tmp.numReductions()); + postsolve_stack.undoUntil(options, sol, basis, tmp.numReductions()); HighsBasis temp_basis; HighsSolution temp_sol; @@ -6354,8 +6353,7 @@ void HPresolve::debug(const HighsLp& lp, const HighsOptions& options) { ARstart, ARindex, ARvalue); sol = reducedsol; basis = reducedbasis; - postsolve_stack.undoUntil(options, flagRow, flagCol, sol, basis, - reductionLim); + postsolve_stack.undoUntil(options, sol, basis, reductionLim); calculateRowValuesQuad(model, sol); kktinfo = dev_kkt_check::initInfo(); diff --git a/src/presolve/HighsPostsolveStack.h b/src/presolve/HighsPostsolveStack.h index bb1b1f785b..e324af710b 100644 --- a/src/presolve/HighsPostsolveStack.h +++ b/src/presolve/HighsPostsolveStack.h @@ -784,9 +784,7 @@ class HighsPostsolveStack { */ // Only used for debugging - void undoUntil(const HighsOptions& options, - const std::vector& flagRow, - const std::vector& flagCol, HighsSolution& solution, + void undoUntil(const HighsOptions& options, HighsSolution& solution, HighsBasis& basis, size_t numReductions) { reductionValues.resetPosition();