Skip to content

Commit ffefd1f

Browse files
committed
Fixed some stupid testing bugs
1 parent aa282a1 commit ffefd1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/utils_AD.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,15 @@ function test_AD(AD::Symbol, kernelfunction, args = nothing, dims = [3, 3])
130130
@test compare_gradient(AD, A) do a
131131
testfunction(k, a, dim)
132132
end
133-
@test conpare_gradient(AD, A) do a
133+
@test compare_gradient(AD, A) do a
134134
testfunction(k, a, B, dim)
135135
end
136136
@test compare_gradient(AD, B) do b
137137
testfunction(k, A, b, dim)
138138
end
139139
if !(args === nothing)
140140
@test compare_gradient(AD, args) do p
141-
testfunction(kernelfunction(p), AD, A, dim)
141+
testfunction(kernelfunction(p), A, dim)
142142
end
143143
end
144144
end

0 commit comments

Comments
 (0)