Skip to content

Fix bug in all_events#1274

Open
yangchenyun wants to merge 1 commit intoaimacode:masterfrom
yangchenyun:patch-1
Open

Fix bug in all_events#1274
yangchenyun wants to merge 1 commit intoaimacode:masterfrom
yangchenyun:patch-1

Conversation

@yangchenyun
Copy link

In case any variables exist in e, the former implementation would generate wrong results.

all_events("Alarm", alarm_net, {"Earthquake": F}) # before, would yield event with E: F

In case any `variables` exist in `e`, the former implementation would generate wrong results.
```py
all_events("Alarm", alarm_net, {"Earthquake": F}) # before, would yield event with E: F
```
weasdown added a commit to weasdown/aima-python that referenced this pull request Feb 5, 2025
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.

1 participant