@@ -287,11 +287,9 @@ struct NoSuperType end
287
287
@test pupp (rand (ComplexF32, 3 , 3 , 1 )) isa UpperTriangular{Float64}
288
288
@test ProjectTo (UpperTriangular (randn (3 , 3 ) .> 0 ))(randn (3 , 3 )) == NoTangent ()
289
289
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}
295
293
296
294
pdu = ProjectTo (UnitLowerTriangular (rand (3 , 3 )))
297
295
# NB, since the diagonal is constant 1, its gradient is zero:
@@ -494,7 +492,7 @@ struct NoSuperType end
494
492
@test eval (Meta. parse (str))(ones (1 , 3 )) isa Adjoint{Float64,Vector{Float64}}
495
493
end
496
494
497
- VERSION > v " 1.1 " && @testset " allocation tests" begin
495
+ @testset " allocation tests" begin
498
496
# For sure these fail on Julia 1.0, not sure about 1.3 etc.
499
497
# We only really care about current stable anyway
500
498
# Each "@test 33 > ..." is zero on nightly, 32 on 1.5.
0 commit comments