From b560ce4b4abb5450dce9a06a7bcddde3b96c1e2c Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 22 Aug 2018 21:18:08 +0530 Subject: support single option blocks --- js/Misc/CONSTRAINT_c.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js/Misc') diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js index 616d04e7..dc17effd 100644 --- a/js/Misc/CONSTRAINT_c.js +++ b/js/Misc/CONSTRAINT_c.js @@ -19,7 +19,10 @@ function CONSTRAINT_c() { return this.x; } CONSTRAINT_c.prototype.get = function CONSTRAINT_c() { - alert("parameters cannot be modified"); + var options = { + x0:["Initial guess values",this.x0.toString().replace(/,/g," ")], + } + return options; } CONSTRAINT_c.prototype.set = function CONSTRAINT_c() { this.exprs = this.graphics.exprs; -- cgit