Skip to content

Commit 1964b8d

Browse files
committed
weird test error
1 parent 1e9a448 commit 1964b8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/manifolds/manifolddiff.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ end
145145
X = hat(M, e0, zeros(3))
146146
g_FD!(X, q)
147147
# gradient at the optimal point should be zero
148-
@test isapprox(0, sum(abs.(X[:])); atol=1e-8 )
148+
@show X_ = abs.(X[:])
149+
@test isapprox(0, sum(X_); atol=1e-8 )
149150

150151
# gradient not the optimal point should be non-zero
151152
g_FD!(X, e0)

0 commit comments

Comments
 (0)