causality icon indicating copy to clipboard operation
causality copied to clipboard

Symmetry in _apply_recursion_rule_2

Open jharmse opened this issue 5 years ago • 2 comments

The function loops over edges (a,b) and checks whether it should add an arrow from a to b, but it does not check whether it should add an arrow from b to a. Note that self._g.edges() has only one entry for each unordered pair.

I tried to submit a pull request, but I apparently I can't push a new branch to the repository.

jharmse avatar Sep 06 '19 22:09 jharmse

good catch! fixed this on master -- do you have a test case to run against it?

akelleh avatar Nov 06 '21 18:11 akelleh

Thank you for fixing it. I happened to notice the issue while looking at the code, and I didn't develop a test case to show the difference.

Regards, Jorgen Harmse.

On Sat, Nov 6, 2021 at 1:58 PM Adam Kelleher @.***> wrote:

good catch! fixed this on master -- do you have a test case to run against it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/akelleh/causality/issues/78#issuecomment-962495347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDUXGKMHTQENAO4UM372NLUKWCHHANCNFSM4IUNWPAQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

jharmse avatar Nov 07 '21 20:11 jharmse