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

Mark Formula.differentiate as stable, and fix a regression in 1.1.0 that led to potential ordering issues in differentiated terms. #236

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

matthewwardrop
Copy link
Owner

@matthewwardrop matthewwardrop commented Dec 20, 2024

Version 1.1.0 introduced a regression in the differentiation of formulae, whereby the original order would be lost. This restores the correct behaviour, and makes Formula.differentiate as stable.

It is known the ModelMatri[x,ces].differentiate() is still broken (in that .get_model_matrix() will fail due to structure validation), but this has been the case since pre-1.0.0. This functionality will be fixed in 1.2.0 and also marked as stable.

closes: #235

@matthewwardrop matthewwardrop force-pushed the matthewwardrop/issue235 branch from 857b5e4 to e2e5de5 Compare December 20, 2024 19:24
@matthewwardrop matthewwardrop merged commit 9c10f77 into main Dec 20, 2024
5 checks passed
@matthewwardrop matthewwardrop deleted the matthewwardrop/issue235 branch December 20, 2024 19:28
matthewwardrop added a commit that referenced this pull request Dec 20, 2024
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.

Wrong handling of term ordering leads to incorrect differentiation
1 participant