From 09ca442715ab35be6598e1e25aedba8a1e650417 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 24 May 2019 16:02:01 +0000 Subject: [PATCH] Commit missing parts of cf2f0e5d. --- src/lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.cpp b/src/lib.cpp index e4a02f9..a800924 100644 --- a/src/lib.cpp +++ b/src/lib.cpp @@ -209,7 +209,7 @@ default: dbp("bad constraint type %d", sc->type); return; // Now we're finally ready to solve! bool andFindBad = ssys->calculateFaileds ? true : false; - SolveResult how = SYS.Solve(&g, &(ssys->dof), &bad, andFindBad, /*andFindFree=*/false); + SolveResult how = SYS.Solve(&g, NULL, &(ssys->dof), &bad, andFindBad, /*andFindFree=*/false); switch(how) { case SolveResult::OKAY: