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 / on Julia >= 1.9 and broken tests #180

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Fix / on Julia >= 1.9 and broken tests #180

merged 1 commit into from
Sep 21, 2023

Conversation

devmotion
Copy link
Member

As the title says, this PR fixes tests on all Julia versions.

The main problem on the master branch is that the return type of /(::AbstractVector, ::AbstractPDMat) is not consistent anymore with the behaviour in LinearAlgebra >= 1.9. I was not able to track down the exact commit where this behaviour changed but since the first alpha release of 1.9 LinearAlgebra returns a vector in these cases whereas in Julia <= 1.8.5 a matrix was returned.

The second problem were the BandedMatrices tests; they were failing due to some upstream problems (only the computations of the reference values were affected it seems) but this could be fixed by simplifying the calculation of the ground truth values.

@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
src/pdiagmat.jl 100.00%
src/pdmat.jl 100.00%
src/scalmat.jl 100.00%

📢 Thoughts on this report? Let us know!.

@devmotion devmotion merged commit 53e64ac into master Sep 21, 2023
11 checks passed
@devmotion devmotion deleted the dw/rdiv branch September 21, 2023 20:56
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.

3 participants