Skip to content

Fix finite precision bug

Sebastian Ohlmann requested to merge fix_mesh_precision_issue into develop

Description

Use nearest function also when checking if a point is in the simulation box to make it the same as when creating the grid. Up to now, a DELTA of 1e-12 was used, which can lead to a bug when the spacing differs by less than that.

News snippet

Fix finite precision bug.

Checklist

Merge request reports