From c145b0da4397da2ee7e57a3ac206a5b1da6eab7a Mon Sep 17 00:00:00 2001 From: Hugo Talbot Date: Tue, 26 Jan 2021 16:45:55 +0100 Subject: [PATCH] [examples] Remove warning and dep --- examples/example-forcefield.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example-forcefield.py b/examples/example-forcefield.py index 7da43509..4a1736dd 100644 --- a/examples/example-forcefield.py +++ b/examples/example-forcefield.py @@ -24,7 +24,6 @@ def addForce(self, m, out_force, pos, vel): def addDForce(self, df, dx, params): pass - #print(" Python::addDForce: ", params) #def addKToMatrix(self, a, b): # print(" Python::addKToMatrix: ", a, " ", b) @@ -33,9 +32,10 @@ def addDForce(self, df, dx, params): def createScene(node): node.addObject("RequiredPlugin", name="SofaOpenglVisual") node.addObject("RequiredPlugin", name="SofaSparseSolver") + node.addObject("RequiredPlugin", name="SofaImplicitOdeSolver") node.addObject("OglLineAxis") node.addObject("DefaultAnimationLoop", name="loop") - node.addObject("EulerImplicit") + node.addObject("EulerImplicitSolver") node.addObject("CGLinearSolver", tolerance=1e-12, threshold=1e-12) o = node.addChild("Object")