From 6e96fd6be5ddf5a81cad39bf23439e7a6077d3e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 17 Jan 2017 11:24:33 +0100 Subject: [PATCH] Replace accidental substitution of Numerical.CURVETIME_EPSILON. --- src/path/Curve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Curve.js b/src/path/Curve.js index c57460b7..3949b588 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -669,7 +669,7 @@ statics: /** @lends Curve */{ var a = 3 * (o1 - o2) - o0 + o3, b = 2 * (o0 + o2) - 4 * o1, c = o1 - o0, - tMin = 4e-7, + tMin = /*#=*/Numerical.CURVETIME_EPSILON, tMax = 1 - tMin, roots = [], n = Numerical.solveQuadratic(a, b, c, roots, tMin, tMax);