[examples] fix NE_BouncingBeam
@@ -176,7 +176,7 @@ int main(int argc, char* argv[])
SP::SiconosVector axe1(new SiconosVector(3));
axe1->zero();
axe1->setValue(2, 1);
- SP::PrismaticJointR relation4(new PrismaticJointR(bouncingbeam, axe1));
+ SP::PrismaticJointR relation4(new PrismaticJointR(axe1, bouncingbeam));
SP::NonSmoothLaw nslaw4(new EqualityConditionNSL(relation4->numberOfConstraints()));
SP::Interaction inter4(new Interaction(nslaw4, relation4));
