From d18d3785ff869d72f58f9428d6e2a45d23dcbec3 Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Tue, 5 Jan 2021 14:13:32 +0100
Subject: [PATCH] Bugfix

---
 src/tutorial_1.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tutorial_1.cc b/src/tutorial_1.cc
index df1ba59..cf0df25 100644
--- a/src/tutorial_1.cc
+++ b/src/tutorial_1.cc
@@ -34,7 +34,7 @@ int main ()
   DevicePtr_t device = ps->createRobot ("pr2");
   hpp::pinocchio::urdf::loadRobotModel (device,
       "planar", "hpp_tutorial", "pr2", "", "");
-  device->controlComputation ((Computation_t)(JOINT_POSITION || JACOBIAN));
+  device->controlComputation ((Computation_t)(JOINT_POSITION | JACOBIAN));
   ps->robot (device);
 
   device->rootJoint()->lowerBound (0, -4);
-- 
GitLab