From 41d57957358bac497e6c818a5c14d4be10c9c64d Mon Sep 17 00:00:00 2001 From: Koen Schmeets Date: Mon, 27 Feb 2023 22:49:21 +0100 Subject: [PATCH] Fix uninitialized group --- src/lib.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib.cpp b/src/lib.cpp index 83685027..dd53d5d9 100644 --- a/src/lib.cpp +++ b/src/lib.cpp @@ -784,12 +784,8 @@ Slvs_SolveResult Slvs_SolveSketch(uint32_t shg, int calculateFaileds = 0) { SYS.Clear(); - Group g; + Group g = {}; g.h.v = shg; - g.suppressDofCalculation = 0; - g.allowRedundant = 0; - g.allDimsReference = 0; - g.relaxConstraints = 0; // add params from entities on sketch for(EntityBase &ent : SK.entity) {