Skip to content

Commit fbc1fd6

Browse files
committed
Add test for colwise of Sinus
1 parent afe209c commit fbc1fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/chainrules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131

3232
@testset "rrules for Sinus(r=$r)" for r in (rand(3),)
3333
dist = KernelFunctions.Sinus(r)
34-
ddist = (r = ones(length(r)),)
3534
test_rrule(dist, rand(3), rand(3))
3635
test_rrule(Distances.pairwise, dist, rand(3, 2); fkwargs=(dims=2,))
3736
test_rrule(Distances.pairwise, dist, rand(3, 2), rand(3, 3); fkwargs=(dims=2,))
37+
test_rrule(Distances.colwise, dist, rand(3, 2), rand(3, 2))
3838
end
3939
end

0 commit comments

Comments
 (0)