diff --git a/src/solver.cpp b/src/solver.cpp index 352017a6ee..c1c048e4cc 100644 --- a/src/solver.cpp +++ b/src/solver.cpp @@ -1186,6 +1186,8 @@ void Solver::resetMutableMemory(int const nx, int const nplist, int const nquad) sx_ = AmiVectorArray(nx, nplist); sdx_ = AmiVectorArray(nx, nplist); + dky_ = AmiVector(nx); + xB_ = AmiVector(nx); dxB_ = AmiVector(nx); xQB_ = AmiVector(nquad);