@@ -287,11 +287,9 @@ struct NoSuperType end
287287 @test pupp (rand (ComplexF32, 3 , 3 , 1 )) isa UpperTriangular{Float64}
288288 @test ProjectTo (UpperTriangular (randn (3 , 3 ) .> 0 ))(randn (3 , 3 )) == NoTangent ()
289289
290- if VERSION >= v " 1.4" # not sure 1.4 exactly!
291- phess = ProjectTo (UpperHessenberg (rand (3 , 3 )))
292- @test phess (reshape (1 : 9 ,3 ,3 )) == [1 4 7 ; 2 5 8 ; 0 6 9 ]
293- @test phess (reshape (1 : 9 ,3 ,3 ) .+ im) isa UpperHessenberg{Float64}
294- end
290+ phess = ProjectTo (UpperHessenberg (rand (3 , 3 )))
291+ @test phess (reshape (1 : 9 ,3 ,3 )) == [1 4 7 ; 2 5 8 ; 0 6 9 ]
292+ @test phess (reshape (1 : 9 ,3 ,3 ) .+ im) isa UpperHessenberg{Float64}
295293
296294 pdu = ProjectTo (UnitLowerTriangular (rand (3 , 3 )))
297295 # NB, since the diagonal is constant 1, its gradient is zero:
@@ -494,7 +492,7 @@ struct NoSuperType end
494492 @test eval (Meta. parse (str))(ones (1 , 3 )) isa Adjoint{Float64,Vector{Float64}}
495493 end
496494
497- VERSION > v " 1.1 " && @testset " allocation tests" begin
495+ @testset " allocation tests" begin
498496 # For sure these fail on Julia 1.0, not sure about 1.3 etc.
499497 # We only really care about current stable anyway
500498 # Each "@test 33 > ..." is zero on nightly, 32 on 1.5.
0 commit comments