From 5a28e41a3105338f747b8a30f67000920490c67d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 6 Jul 2018 10:38:38 +0530 Subject: make string as the default type --- js/Sources/CLOCK_f.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/Sources/CLOCK_f.js') diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js index 7ef76e89..2f7509a5 100644 --- a/js/Sources/CLOCK_f.js +++ b/js/Sources/CLOCK_f.js @@ -53,9 +53,9 @@ function CLOCK_f() { return options; } CLOCK_f.prototype.set = function CLOCK_f() { - this.dt = parseFloat((arguments[0]["dt"])) - this.t0 = parseFloat((arguments[0]["t0"])) - this.exprs0 = parseFloat((arguments[0]["exprs0"])) + this.dt = arguments[0]["dt"] + this.t0 = arguments[0]["t0"] + this.exprs0 = arguments[0]["exprs0"] for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="EVTDLY_f") { -- cgit