From: Daniel Arndt Date: Tue, 1 May 2018 09:01:24 +0000 (+0200) Subject: Initialize SUN* objects X-Git-Tag: v9.0.0-rc1~52^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6412%2Fhead;p=dealii.git Initialize SUN* objects --- diff --git a/source/sundials/kinsol.cc b/source/sundials/kinsol.cc index e1817e7f33..5661507f0d 100644 --- a/source/sundials/kinsol.cc +++ b/source/sundials/kinsol.cc @@ -265,8 +265,8 @@ namespace SUNDIALS AssertKINSOL(status); #if DEAL_II_SUNDIALS_VERSION_GTE(3,0,0) - SUNMatrix J; - SUNLinearSolver LS; + SUNMatrix J = nullptr; + SUNLinearSolver LS = nullptr; #endif if (solve_jacobian_system)