Commit 1f1cd6c2 authored by Adam Barth's avatar Adam Barth

Increase the simulation epsilon

We don't need to compute simulations out to that many decimal places because
we're working in pixels.

R=chinmaygarde@google.com
parent be7e0285
......@@ -4,7 +4,7 @@
part of newton;
const double _simulationEpsilon = 0.01;
const double _simulationEpsilon = 0.2;
bool _nearEqual(double a, double b) =>
(a > (b - _simulationEpsilon)) && (a < (b + _simulationEpsilon));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment