2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit da53cd8c authored by Philipp Samfaß's avatar Philipp Samfaß
Browse files

Fixed wrong memory deallocation in spaceTimePredictorNonlinear.cpph

parent bee2e049
......@@ -426,7 +426,7 @@ int aderPicardLoopNonlinear(SolverType& solver, const double* luh,
// Cleanup iff we use gradient flux
// In other cases, the pointer gradQCur is owned by the caller.
if (useViscousFlux) {
delete gradQCur;
delete[] gradQCur;
}
return iter;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment