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

Fix all broken tests but one #32

Merged
merged 2 commits into from
May 27, 2024
Merged

Conversation

blegat
Copy link
Member

@blegat blegat commented May 21, 2024

I started by implementing operate_to(res, -, a) for AbstractArrays but then Base.broadcast! would allocate in MA.operate_to!(coeffs(res), +, coeffs(res), coeffs(X)) when it would unalias the result from the first argument since they are the same.
By merging the two in one line we have a call to Base.broadcast! with no alias so it seems better :)

@blegat blegat changed the title Fix broken all tests but one Fix all broken tests but one May 21, 2024
@@ -188,24 +184,14 @@

@test P2 * P3 == P3 * P2 == P

#=
@test_broken -RG(h) == (-1) * RG(h)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why does this one remain broken?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

I suggest to leave it for a follow up PR once this MA PR is merged

@kalmarek kalmarek merged commit fc2e9b2 into mk/non_monomial_basis May 27, 2024
18 of 20 checks passed
@kalmarek kalmarek deleted the bl/broken_fixes branch May 27, 2024 16:48
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