From 0a3788d46553caffc5240d6010e5a8e1703c5aaf Mon Sep 17 00:00:00 2001 From: AMIT KUMAR YADAV Date: Tue, 21 Jun 2016 11:43:19 +0530 Subject: Fixed some edge cases --- data_structures/RICC.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data_structures/RICC.js') diff --git a/data_structures/RICC.js b/data_structures/RICC.js index bea104f..1eaf89b 100644 --- a/data_structures/RICC.js +++ b/data_structures/RICC.js @@ -7,7 +7,7 @@ function RICC () { var funtyp = 4; model.sim=list(function_name,funtyp); - model.in = new ScilabDouble([-1],[-1],[-1]); + model.in1 = new ScilabDouble([-1],[-1],[-1]); model.in2 = new ScilabDouble([-1],[-1],[-1]); model.intyp = new ScilabDouble([1,1,1]); model.out = new ScilabDouble([-1]); @@ -27,4 +27,5 @@ function RICC () { var gr_i = []; this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) } -- cgit