Closed Rombur closed 4 years ago
This is ready for review. The travis fails because of doxygen in arborx.
Can you comment to our relaxing the tolerance from 1e-14 to 1e-6
The travis fails because of doxygen in arborx.
We should probably just disable doxygen parsing arborx (either in this pull request or another one).
Can you comment to our relaxing the tolerance from 1e-14 to 1e-6
Yeah, that's because we went from double
to float
in the point coordinates. I think that the important computations are done on double but we need to cast from float
to double
at some point. I looked at a few checks were I've relaxed the tolerance and it was clear that it was just due to a different round-off (value of 2.500001 instead of 2.5).
Can you comment to our relaxing the tolerance from 1e-14 to 1e-6
Yeah, that's because we went from
double
tofloat
in the point coordinates. I think that the important computations are done on double but we need to cast fromfloat
todouble
at some point. I looked at a few checks were I've relaxed the tolerance and it was clear that it was just due to a different round-off (value of 2.500001 instead of 2.5).
Do you reckon we might have an issue here? We could recompute the distance in dtk in principle.
Can you comment to our relaxing the tolerance from 1e-14 to 1e-6
Yeah, that's because we went from
double
tofloat
in the point coordinates. I think that the important computations are done on double but we need to cast fromfloat
todouble
at some point. I looked at a few checks were I've relaxed the tolerance and it was clear that it was just due to a different round-off (value of 2.500001 instead of 2.5).Do you reckon we might have an issue here? We could recompute the distance in dtk in principle.
In the current version of the code, this wouldn't help since all the points in dtk are using float now. I'll see how much work it is to use float only in arborx and double everywhere else.
OK I've switched back to double and it works using a tolerance of 1e-14
instead of 1e-6
. We get narrowing warning but that can be fixed in another PR
OK I've switched back to double and it works using a tolerance of
1e-14
instead of1e-6
. We get narrowing warning but that can be fixed in another PR
Great. Tanks for fixing this.
This PR works (I've only tried CPU) if I revert https://github.com/arborx/ArborX/pull/222 @masterleinad can you take a look at what we need to make
sendAcrossNetwork
work. One problem is obviously this but when I fixed it. I got the wrong results for theMeshFree
tests.