[io] correct run method when self._collision_margin-None
@@ -2155,6 +2155,7 @@ class MechanicsHdf5Runner(siconos.io.mechanics_hdf5.MechanicsHdf5):
y=np.min(yplus,axis=1)
violation_max=np.max(-y)
print_verbose(' violation max :',violation_max)
+ if self._collision_margin is not None:
if (violation_max >= self._collision_margin):
print_verbose(' violation max is larger than the collision_margin')
lam=simulation.lambda_(1,0)
