Skip to content
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

Syntax error in Simulation class #261

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

anth-volk
Copy link
Contributor

Fixes #260

The changes introduced within #224 to create SimulationMacroClass unfortunately introduced a bug whereby simulations crash for every variable that does not have a dataset due to an error in evaluating conditionals joined with and. This fixes that error by nesting the two required statements, as similarly implemented prior to the existence of SimulationMacroCache.

@MaxGhenis MaxGhenis merged commit bb4919f into PolicyEngine:master Sep 2, 2024
4 checks passed
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.

dataset attribute of Simulation not defined when running US tests
2 participants