From 9e0c01722f8daf63cb1ceb77a0f0e729d2096362 Mon Sep 17 00:00:00 2001 From: charles VILLETTE Date: Thu, 7 Jul 2016 14:36:01 +0200 Subject: Removing the numeric test on setVar. --- src/NXP/MathExecutor.php | 4 ---- 1 file changed, 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; -- cgit v1.2.3