Skip to content

Commit c202784

Browse files
committed
fix test: sphere axes can be arbitrary
1 parent 29a7cbe commit c202784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/bounds/ellipsoids.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ const NMAX = 20
1111
@test volume(ell) volume_prefactor(N) * scale^N
1212
axs, axlens = decompose(ell)
1313
@test axlens fill(scale, N)
14-
@test axs Bounds.axes(ell) scale * Matrix(I, N, N)
14+
@test axs Bounds.axes(ell)
15+
@test norm.(eachcol(axs)) == fill(scale, N)
1516
end
1617

1718
@testset "Scaling" begin

0 commit comments

Comments
 (0)