Closed stardisblue closed 3 years ago
Thank you for the feedback, @stardisblue! Out of curiosity, did you encounter odd behavior, or were you looking through the code when encountering this? I think this case seldomly occurs, so it might be good to find a test case that triggers it.
As to resolving this: I believe using Utils.Double#eq
would fix this, agreed?
It triggers during csv/glottovis.tsv using big as a strategy. I had different stats when I fixed it...
btw, i'm wondering about two things :
Let me answer your followup questions in #2, @stardisblue :slightly_smiling_face:
Hello, after tinkering with the code: https://github.com/Caster/growing-glyphs/blob/fc4d25133d74ebc6a2db803f0dc8ef2183fa8fb7/src/algorithm/FirstMergeRecorder.java#L381 Is never true since
Double
objects are not==
with each-other in Java.