Skip to content

Commit cd041f4

Browse files
DomCRoseToucheSir
andauthored
Update test/activations.jl
Co-authored-by: Brian Chen <[email protected]>
1 parent 0f0c7b0 commit cd041f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/NNlibCUDA/test/activations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ end
2525
end
2626

2727
@testset "complex" begin
28-
f = (x) -> tanh.(x)
28+
f(x) = tanh.(x)
2929
cs = rand(ComplexF64, 5)
3030
@test f(cs) collect(f(CuArray(cs)))
3131
end

0 commit comments

Comments
 (0)