fix compilation after 4fda44 26/18526/1
Clément DAVID [Mon, 29 Aug 2016 07:43:12 +0000 (09:43 +0200)]
Change-Id: Ib66bfd611234ee65def3c3ce1be4ba90e82a01d3

scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/custom/ProdPortLabeler.java

index 41c0c22..da4695c 100644 (file)
@@ -82,7 +82,7 @@ public class ProdPortLabeler {
         for (int i = 0; i < ports.size(); i++) {
             final int gain;
 
-            if (i < rpar.size()) {
+            if (i < ipar.size()) {
                 gain = ipar.get(i);
             } else {
                 gain = 1;