Skip to content

Analyser: coupled rate equations give a model of the type ode with no equations and no issue, the generator then crashes on it - #1534

Open
agarny wants to merge 8 commits into
cellml:mainfrom
agarny:issue1531
Open

agarny wants to merge 8 commits into
cellml:mainfrom
agarny:issue1531

Conversation

@agarny

@agarny agarny commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Fixes #1531.

Copilot AI balanced review requested due to automatic review settings November 24, 2026 04:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The guard in src/analyser.cpp suppresses missing-rate checks when other variable errors exist, causing models with both constraint types to be incorrectly classified as overconstrained.

1 open issue

Review effort: Balanced

Comment thread src/analyser.cpp Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

An early return in src/analyser.cpp skips algebraic constraint checks, causing combined constraint failures to be misclassified as UNDERCONSTRAINED and suppressing overconstraint diagnostics.

1 open issue
1 resolved since last review

Review effort: Balanced

Comment thread src/analyser.cpp Resolved
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.

Analyser: coupled rate equations give a model of the type ode with no equations and no issue, the generator then crashes on it

2 participants