From 870479a2e4b932426a904b2ebae7e4ee72037326 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 22 Jun 2018 15:17:51 +0530 Subject: save global variables in first pass read those variables in second pass --- js/Misc/scifunc_block_m.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Misc/scifunc_block_m.js') diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js index aaf8724f..e9d6bd44 100644 --- a/js/Misc/scifunc_block_m.js +++ b/js/Misc/scifunc_block_m.js @@ -54,7 +54,7 @@ z=z.slice(); rpar=rpar.slice(); it=ones(1,size(i,1)); ot=ones(1,size(o,1)); -nrp=prod[size(rpar)-1]; +nrp=prod(size(rpar)); ni=size(i,1); no=size(o,1); ci=int(ci.slice()); -- cgit