Skip to content

Conversation

@zhi-yi-huang
Copy link
Collaborator

Updates

  • Fixed an issue on updating the separated set.
  • Added a test for updating the separated set.

Description

The sepset had been initialized with an empty set. But it should be recorded in cg.sepset when x and y are d-separated, given by sepset. Otherwise, sepset (the empty set) will be recorded in cg.sepset.

Test Plan

python -m unittest tests.TestPC # should pass
python -m unittest tests.TestSkeletonDiscovery # should pass

image

@kunwuz
Copy link
Collaborator

kunwuz commented Jan 23, 2024

Thanks for the fix!

@kunwuz kunwuz merged commit 0991c80 into py-why:main Jan 23, 2024
@kunwuz kunwuz mentioned this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants