Skip to content

add error for discrete parameter update#3970

Open
vyudu wants to merge 6 commits into
SciML:masterfrom
vyudu:cb
Open

add error for discrete parameter update#3970
vyudu wants to merge 6 commits into
SciML:masterfrom
vyudu:cb

Conversation

@vyudu

@vyudu vyudu commented Oct 16, 2025

Copy link
Copy Markdown
Member

This adds an error is so that callbacks that try to update parameters explicitly don't silently fail if they are not declared as discrete.

@vyudu vyudu changed the title add error for discrete parameter update, do not add observed to algebraic equations add error for discrete parameter update Oct 20, 2025

@AayushSabharwal AayushSabharwal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test doesn't actually test the error?

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