diff options
author | charles VILLETTE <charles.villette@nexuslink.com> | 2016-07-07 15:36:01 +0300 |
---|---|---|
committer | charles VILLETTE <charles.villette@nexuslink.com> | 2016-07-07 15:36:01 +0300 |
commit | 9e0c01722f8daf63cb1ceb77a0f0e729d2096362 (patch) | |
tree | 3d0cf67fbc76cc22b8244d7d93646e9144928e7c /src/NXP | |
parent | fa935b0af637fbda34454aa679c69eaaaba1308d (diff) |
Removing the numeric test on setVar.
Diffstat (limited to 'src/NXP')
-rw-r--r-- | src/NXP/MathExecutor.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/NXP/MathExecutor.php b/src/NXP/MathExecutor.php index 7eaa914..5cb4bca 100644 --- a/src/NXP/MathExecutor.php +++ b/src/NXP/MathExecutor.php @@ -91,10 +91,6 @@ class MathExecutor */ public function setVar($variable, $value) { - if (!is_numeric($value)) { - throw new \Exception("Variable value must be a number"); - } - $this->variables[$variable] = $value; return $this; |