From a7de42984052b01cb34268096a833a3e9a1e0bc0 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 17 Jul 2023 15:17:41 +0200 Subject: [PATCH] Remove crash in CIDER example meclgate.cir --- src/maths/KLU/klusmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/maths/KLU/klusmp.c b/src/maths/KLU/klusmp.c index c04a49ffa..8985d440c 100644 --- a/src/maths/KLU/klusmp.c +++ b/src/maths/KLU/klusmp.c @@ -1131,6 +1131,8 @@ SMPnewMatrixKLUforCIDER (SMPmatrix *Matrix, int size, unsigned int KLUmatrixIsCo Matrix->SMPkluMatrix->KLUmatrixBindStructForCIDER = NULL ; Matrix->SMPkluMatrix->KLUmatrixValueComplexCOOforCIDER = NULL ; + Matrix->SMPkluMatrix->KLUmatrixDiag = NULL ; + /* Initialize the KLU Common Data Structure */ klu_defaults (Matrix->SMPkluMatrix->KLUmatrixCommon) ;