Skip to content

Commit 2ddb972

Browse files
authored
Make obvious the type of x
1 parent 88e70b4 commit 2ddb972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extra_rules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ using Test
1616
end
1717

1818
@testset "convertable type" begin
19-
x = (10, 20.0, 30.0)
19+
x::Tuple{Int, Float64, Float64} = (10, 20.0, 30.0)
2020
= zero_tangent(x)
2121
y, ẏ = frule((NoTangent(), ẋ), StaticArraysCore.SVector{3, Float64}, x)
2222
# all are float

0 commit comments

Comments
 (0)