diff --git a/examples/access_constraint_matrix.py b/examples/access_constraint_matrix.py index e8caae07..f12d9784 100644 --- a/examples/access_constraint_matrix.py +++ b/examples/access_constraint_matrix.py @@ -33,7 +33,7 @@ def createScene(root): mechanical_object = root.addObject("MechanicalObject", name="defoDOF", template="Vec3d") root.addObject("EdgeSetGeometryAlgorithms", drawEdges=True) root.addObject("FixedProjectiveConstraint", indices=[0]) - root.addObject("MeshMatrixMass", name="mass", totalMass="1e-3", lumping=True) + root.addObject("DiagonalMass", name="mass", totalMass="1e-3") ext = root.addChild("extensionsNode") ext.addObject("MechanicalObject", template="Vec1d", name="extensionsDOF")