aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/MathExecutor.php
diff options
context:
space:
mode:
authorAlexander Kiryukhin <alexander@kiryukhin.su>2018-09-06 20:39:47 +0300
committerGitHub <noreply@github.com>2018-09-06 20:39:47 +0300
commit3011a1c55686ef5a0c7759ae1efcb2a71623ab9c (patch)
treec192d6dd2948e83122893ab67228141b271c2d22 /src/NXP/MathExecutor.php
parent29d32a155f9956d1041a4420c19986565f695040 (diff)
parent855ca5dfc1a6d70d9872df4b0d7bea8ba3c4c040 (diff)
Merge branch 'master' into getters_for_function_and_operators
Diffstat (limited to 'src/NXP/MathExecutor.php')
-rw-r--r--src/NXP/MathExecutor.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/NXP/MathExecutor.php b/src/NXP/MathExecutor.php
index 0c3d185..9e7ce25 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;