-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with colorbraiding and taffy (MEX) #116
Comments
See 3909cf0. You can now set a property I was going to have |
No need for that. In fact, we should probably get rid of eqfuzzy if we are going to stick with absolute tolerance as it makes the code less readable for such a simple operation. In any case, there is a new problem right now that fails on taffy but I don't have time to fix it before heading out. |
I don't think it's a new problem: it's the second one mentioned at the start of this issue. I think there were two problems, one with |
Bug was in incorrect reporting of whether all crossings were applied, success was accidentally reported by "false" flag instead of "true" in applyCrossings() function.
taffyTest fails sometimes, literally sometimes. Out of 5 repeated runs of
I am guessing the issue is that a concurrent pair of crossings C1, C2 can be resolved equally as "C1 - C2" braid, and "C2 - C1" braid. I think this has to do with multithreaded execution, as different pairs of strands may be processed on different cores. If this happens, then depending on what else is going on at the computer, one core might terminate a bit ahead, or after, the other, which would affect the order in which their results are processed by the part of the algorithm that "integrates" pairwise crossings into a braid. I have not managed to get the test to fail in the manner above when |
What is ABSTOL_TIME? There's no fragility involved in having this parameter? |
In any case, I changed the unit test to check for braid equality, and now it works fine. It would be nice if we could guarantee that the answer returned was always identical, but being the correct braid is more important. I will close this and go to 3.1, but also open an issue (#118). |
There is a discrepancy between the guide and current results. In fact there are quite a few.
BRAIDLAB_braid_nomex=0
,taffy('4rods',pi/2)
returns a different error message:This is a bit cryptic. Nothing about the projection line, unlike the old error message (see guide).
still gives the error message, even though there should now be a well-defined braid.
So it sounds like we've introduced a regression of some kind. This is important and must be fixed before 3.1.
We should also see if this was ok as far back as 3.0.1.
(Split the non-MEX part of this to #117.)
The text was updated successfully, but these errors were encountered: