Skip to content

Commit 2f355b4

Browse files
committed
Fix test for StaticArrays-0.4.0 quirk
Make test slightly less strict to work around JuliaArrays/StaticArrays.jl#131
1 parent 336ca57 commit 2f355b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/affine.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ CoordinateTransformations.transform_deriv(::SquareMe, x0) = diagm(2*x0)
7575

7676
# Transform
7777
@test trans(x) === SVector(3.0, 1.0)
78-
@test trans(collect(x)) === SVector(3.0, 1.0)
78+
@test trans(collect(x)) == [3.0, 1.0]
7979

8080
# Transform derivative
8181
m1 = transform_deriv(trans, x)

0 commit comments

Comments
 (0)