File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -366,15 +366,14 @@ end
366366 a = Tangent {Foo} (; x= 2.0 , y= - 2.0 )
367367 b = Tangent {Foo} (; x= 1.0 )
368368 @test (a - b) == Tangent {Foo} (; x= 1.0 , y= - 2.0 )
369-
370- a = Tangent {Tuple{Float64, Float64}} (2.0 , 3.0 )
371- b = Tangent {Tuple{Float64, Float64}} (1.0 , 1.0 )
372- @test (a - b) == Tangent {Tuple{Float64, Float64}} (1.0 , 2.0 )
373369
374- a = MutableTangent {MFoo} (x= 1.5 , y= 1.5 )
375- b = MutableTangent {MFoo} (x= 0.5 , y= 0.5 )
376- @test (a - b) == MutableTangent {MFoo} (x= 1.0 , y= 1.0 )
377-
370+ a = Tangent {Tuple{Float64,Float64}} (2.0 , 3.0 )
371+ b = Tangent {Tuple{Float64,Float64}} (1.0 , 1.0 )
372+ @test (a - b) == Tangent {Tuple{Float64,Float64}} (1.0 , 2.0 )
373+
374+ a = MutableTangent {MFoo} (; x= 1.5 , y= 1.5 )
375+ b = MutableTangent {MFoo} (; x= 0.5 , y= 0.5 )
376+ @test (a - b) == MutableTangent {MFoo} (; x= 1.0 , y= 1.0 )
378377 end
379378
380379 @testset " scaling" begin
You can’t perform that action at this time.
0 commit comments