Skip to content

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

Merged
devmotion merged 1 commit intomasterfrom
dw/rdiv
Sep 21, 2023
Merged

Fix / on Julia >= 1.9 and broken tests#180
devmotion merged 1 commit intomasterfrom
dw/rdiv

Conversation

@devmotion
Copy link
Copy Markdown
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
Copy Markdown

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
@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