Skip to content
Snippets Groups Projects
Commit dbcdb9f8 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Dmitri Naumov
Browse files

[MaL] removed unneeded checks

parent 44697198
No related branches found
No related tags found
No related merge requests found
......@@ -300,16 +300,9 @@ CVodeSolverImpl::~CVodeSolverImpl()
{
printStats(_cvode_mem);
if (_y)
{
N_VDestroy_Serial(_y);
N_VDestroy_Serial(_abstol);
}
if (_cvode_mem)
{
CVodeFree(&_cvode_mem);
}
N_VDestroy_Serial(_y);
N_VDestroy_Serial(_abstol);
CVodeFree(&_cvode_mem);
}
CVodeSolver::CVodeSolver(BaseLib::ConfigTree const& config,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment