Closed mlamarin closed 6 years ago
Thanks for the good question. The difference is due to the numeric precision loss (from 64 to 32 bits) during the serialization. We decided to use 32-bit float to save the space, which I don't think has any impact on gating given such small numeric error
> all.equal(ga_loaded_1_cd38mDRm@boundaries, ga_1_cd38mDRm@boundaries, tol = 3e-8)
[1] TRUE
Hi Mike Thanks for the answer, that's absolutely enough I agree. I will add the "tol = 3e-8" in my tests.
Best Marc
Dear RGLab team,
Thanks for your great work, it eases so much my daily work life.
I came recently to something possibly minor and likely caused by the serialization routine.
I hope that the reproducible example will work the same for you. It shows that stored and restored objects are not numerically identical.
Thanks Marc