Bruno Levy
Bruno Levy
Thanks Jeremie ! I'm taking a look, Note: for running the tests manually, instructions are [here](https://github.com/BrunoLevy/geogram/wiki/DevOps#tests) (they are based on RobotFramework plus a set of scripts that were written by...
Hello ! In geogram, when loading a PLY file: - Color information is loaded into vertex and/or facet attributes - Vertex normals are not loaded More information on Mesh attributes...
May come to float to int conversions, handled differently on M1 silicon, more information [here](https://developer.apple.com/documentation/apple-silicon/addressing-architectural-differences-in-your-macos-code#Audit-Code-that-Contains-Float-to-Int-Conversions)
Another hypothesis: ANN has its own boolean type, it may be the culprit (M1 has different intbool conversion rules). -> Nope, still fails when redefiningh ANNbool as bool, ANNfalse as...
Tryed to define ANN_DLB_MAX as 1e300 (instead of using value from limits.h), did not work either.
Tryed to compile ANN with all warnings activated -> did not see anything.
So next thing to do is to determine which one of ANN or Geogram is right (and there is also the option that both are wrong !!). Let us output...
- Distances are nearly correct, except a tiny difference, may come from compiler's optimizations - It seems that I get garbage instead of the indices ! To be investigated... ->...
The problem (nearly) systematically happens when a pair of points is swapped in the two lists. Re-activated tolerance for now.