Scicos tests: fix comparison.tst after 3c59ba21d5f2 42/20742/4
Clement DAVID [Fri, 25 Jan 2019 16:07:53 +0000 (17:07 +0100)]
Change-Id: I9f9841e24b48a7cc0f4f725566a6a8e01f5ddf5f

scilab/modules/scicos/src/cpp/view_scilab/BaseAdapter.hxx

index 491e14c..4d0e5dc 100644 (file)
@@ -378,7 +378,7 @@ public:
         {
             types::InternalType* ith_prop1 = p.get(*static_cast<Adaptor*>(this), controller);
             types::InternalType* ith_prop2 = p.get(*static_cast<Adaptor*>(ut), controller);
-            ret->set(p.original_index, *ith_prop1 == *ith_prop2);
+            ret->set(p.original_index + 1, *ith_prop1 == *ith_prop2);
 
             // Getting a property allocates data, so free them
             ith_prop1->killMe();