From 88714e3a1d24d94b55af1c8f5f257ea28cd41639 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Wed, 10 Jun 2020 11:26:17 -0400 Subject: [PATCH] fix square root of 0 --- index.html | 6 +++--- js/jvon-interpret.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 815f7c6..3965d50 100644 --- a/index.html +++ b/index.html @@ -152,11 +152,11 @@
- JVON Web
+ JVON Web 1.1.2
{{strings.credits_description}} {{strings.credits_john}}
{{strings.credits_cromer}}
- Ingeniería Civil en Informática, Universidad del Bío Bío, 2015
- Version android + Ingeniería Civil en Informática, Universidad del Bío Bío, 2015-2020
+
diff --git a/js/jvon-interpret.js b/js/jvon-interpret.js index 1766c1e..850f525 100644 --- a/js/jvon-interpret.js +++ b/js/jvon-interpret.js @@ -678,7 +678,7 @@ document.addEventListener('DOMContentLoaded', function () { var syntax = $scope.check_syntax(value); var sqr; if (syntax.type == "blank") { - if ($scope.ac == "") { + if (typeof $scope.ac != 'number') { alert($scope.strings.error_ac); $scope.stop_code(); }