Skip to content

Commit 753609f

Browse files
committed
Fixed test case with wrong input type.
1 parent 337beb3 commit 753609f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/dsl/dynamic_dsl.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ end
2525

2626
@test baz(5) == 5
2727

28-
@gen (grad) oneliner(x::Float64, (grad)(y::Float64=5)) = x+y
28+
@gen (grad) oneliner(x::Float64, (grad)(y::Float64=5.0)) = x+y
2929

30-
@test oneliner(5) == 10
30+
@test oneliner(5.0) == 10.0
3131
end
3232

3333
@testset "return type" begin

0 commit comments

Comments
 (0)