Jamesflynn1 / pyRBM

A Python framework to build and simulate stochastic rules-based models.
GNU General Public License v3.0
3 stars 0 forks source link

[ERROR] Cached propensity not updated when model state values change #35

Closed Jamesflynn1 closed 2 months ago

Jamesflynn1 commented 2 months ago

Describe the bug Cached propensity not updated when model state values change. Possible issue with RuleChain.py or the Solver code itself.

To Reproduce Steps to reproduce the behavior:

Use a single rule model and use a month indictactor for the rule propensity.

Start the simulation in a different month.

The rule will never be triggered as the rule propensity is never updated.

Expected behavior The rule propensity should be updated when the month indicator is updated.