Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SundialsIntegrator: Fix memory deallocation
nv_many_array is allocated with new[]. So it must be deallocated with delete[]. Therefore we cannot call Sundials's N_VDestroyVectorArray that uses std::free.
- Loading branch information