Ticket #143: InteractiveBuildModel.patch
File InteractiveBuildModel.patch, 1.2 KB (added by , 17 years ago) |
---|
-
Compiler/Static.mo
5123 5123 args, Exp.RCONST(1.0)); 5124 5124 (cache,numberOfIntervals) = getOptionalNamedArg(cache,env, SOME(st), impl, "numberOfIntervals", 5125 5125 (Types.T_INTEGER({}),NONE), args, Exp.ICONST(500)); 5126 (cache,tolerance) = getOptionalNamedArg(cache,env, SOME(st), impl, "tolerance", (Types.T_REAL({}),NONE), 5127 args, Exp.RCONST(1e-10)); 5126 5128 (cache,method) = getOptionalNamedArg(cache,env, SOME(st), impl, "method", (Types.T_STRING({}),NONE), 5127 5129 args, Exp.SCONST("dassl")); 5128 5130 cname_str = Absyn.pathString(className); … … 5133 5135 then 5134 5136 (cache,Exp.CALL(Absyn.IDENT("buildModel"), 5135 5137 {Exp.CODE(Absyn.C_TYPENAME(className),Exp.OTHER()),startTime,stopTime, 5136 numberOfIntervals, method,filenameprefix,storeInTemp},false,true,Exp.OTHER()),Types.PROP(5138 numberOfIntervals,tolerance,method,filenameprefix,storeInTemp},false,true,Exp.OTHER()),Types.PROP( 5137 5139 ( 5138 5140 Types.T_ARRAY(Types.DIM(SOME(2)),(Types.T_STRING({}),NONE)),NONE),Types.C_VAR()),SOME(st)); 5139 5141