Skip to content

[BUG] __init__ fails to add latent nodes in nodes #2303

@daehyun99

Description

@daehyun99

Describe the bug

  • When declaring causal graph classes through the __init__ method, a problem occurred where the latents values were omitted.

To Reproduce

  • Please refer to the sub-issue for bug reproduction.

Expected behavior

  • When executing the nodes() method of the causal graph class, the latents nodes must also be included.
  • When using the __eq__ method, it should return True for two instances of the same causal graph class, even if they were declared in different ways.

Additional context

Versions

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions