Scicos_blocks macros: fix INVBLK after e544dc051 15/18915/2
Paul Bignier [Thu, 19 Jan 2017 11:36:28 +0000 (12:36 +0100)]
Change-Id: I87d36fe1d037a008da2139e07ab6b983feeeb055

scilab/modules/scicos_blocks/macros/NonLinear/INVBLK.sci

index f2d5d04..0f1e51a 100644 (file)
@@ -33,7 +33,7 @@ function [x,y,typ]=INVBLK(job,arg1,arg2)
 
         // Compatibility before 6.0.0, there was no divideByZero parameter
         if exprs == " " then
-            exprs($+1) = "1";
+            exprs = "1";
         end
 
         while %t do