Skip to content

Commit

Permalink
Fix Solver::dky_ initialization (#2362)
Browse files Browse the repository at this point in the history
`Solver::dky_` is always empty. Any call to `CVodeGetDky` should fail. Seems like it's never used.
  • Loading branch information
dweindl authored Mar 6, 2024
1 parent ddffa93 commit d7603b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d7603b1

Please sign in to comment.