Skip to content

Commit

Permalink
Modify test to account for inconsistencies in how Julia handles empty…
Browse files Browse the repository at this point in the history
… matrices
  • Loading branch information
devmotion authored Jun 12, 2024
1 parent 568d724 commit b2dffb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testutils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ function pdtest_mul(C, Cmat::Matrix, X::Matrix, verbose::Int)
end

# Dimension mismatches
@test_throws DimensionMismatch C * rand(d + 1)
@test_throws DimensionMismatch C * rand(d + 1, n)
@test_throws DimensionMismatch C * rand(d + 2)
@test_throws DimensionMismatch C * rand(d + 2, n)
end


Expand Down

0 comments on commit b2dffb0

Please sign in to comment.