Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion test/cov.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ function test_isapprox_preserves_symherm_structure(f::F, x::AbstractMatrix, y::A
if A isa Union{Symmetric,Hermitian}
@test fA isa (A isa Symmetric ? Symmetric : Hermitian)
@test fA.uplo == A.uplo
@test parent(fA) != fA # only active triangle is written to
Copy link
Member

Choose a reason for hiding this comment

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

There's the same line in the branch above, shouldn't it be removed too?

Copy link
Member Author

Choose a reason for hiding this comment

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

The test in the branch above should be fine since it's for the in-place methods: In these cases, as tested, fA === A but since A is created by copying (and potentially wrapping) a properly initialised matrix, the parent could only be equal to the wrapped array after the cov2cor!/cor2cov! call if all standard deviations are one.

end
end
end
Expand Down
Loading