[tests] fix test_smc, set nsds before prepareIntegratorForDS
@@ -58,6 +58,7 @@ def test_smc1():
# Creation of the Simulation
processSimulation = TimeStepping(processTD, 0)
processSimulation.setName("plant simulation")
+ processSimulation.setNonSmoothDynamicalSystemPtr(process.nonSmoothDynamicalSystem())
# Declaration of the integrator
processIntegrator = ZeroOrderHoldOSI()
processSimulation.prepareIntegratorForDS(processIntegrator, processDS, process, t0)
