From e63b3a0797198091136f29699d5e2ad5df430170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 23 Mar 2013 17:05:48 -0700 Subject: [PATCH] Use short-cut to Math.abs() --- src/util/Numerical.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Numerical.js b/src/util/Numerical.js index 2958ae57..8ccf77f0 100644 --- a/src/util/Numerical.js +++ b/src/util/Numerical.js @@ -74,7 +74,7 @@ var Numerical = new function() { * Numerical.EPSILON. */ isZero: function(val) { - return Math.abs(val) <= this.EPSILON; + return abs(val) <= this.EPSILON; }, /**