diff --git a/solvers/mp2nl/mp2nlmodelapi.cc b/solvers/mp2nl/mp2nlmodelapi.cc index 4e107806a..e11550fc1 100644 --- a/solvers/mp2nl/mp2nlmodelapi.cc +++ b/solvers/mp2nl/mp2nlmodelapi.cc @@ -1306,7 +1306,7 @@ class MP2NLSolverImpl return; } int i0 = sparse_entry.first; - if (0 == (kind & 4)) // variable suffix + if (0 == (kind & 3)) // variable suffix i0 = mapi_.GetOldVarIndex(i0); suf[i0] = sparse_entry.second; }