Uh oh!
There was an error while loading. Please reload this page.
2D: do not return points outside the bounds, closes #181 - #182
Conversation
akhmerov
commented
Apr 10, 2019
Here the numerical errors don't accumulate over time, and therefore we may simply choose a relative tolerance that is merely much higher than the double precision (e.g. Also as implemented, there is no guarantee that all the points that are selected are within the triangulation if e.g. the midpoint on the edge of the rectangle is outermost and the top or bottom are ε away from it. |
basnijholt
commented
Apr 10, 2019
I think that the rounding of the same number should always happen the same, so I don't think this could occur.
So you just mean doing? eps=1e-13x=y=np.linspace(-0.5+eps, 0.5-eps, n) |
akhmerov
commented
Apr 12, 2019
LGTM |
@andrenmelo, this is the (a) solution.
@python-adaptive/core what do you think?