File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -856,17 +856,17 @@ Examples
856856 1 + 1im
857857
858858 julia> ArrayInterface.is_lazy_conjugate(a)
859- true
859+ True()
860860
861861 julia> b = a'
862862 1×2 adjoint(transpose(adjoint(::Vector{Complex{Int64}}))) with eltype Complex{Int64}:
863863 1+1im 1-1im
864864
865865 julia> ArrayInterface.is_lazy_conjugate(b)
866- false
866+ False()
867867
868868"""
869- is_lazy_conjugate (:: T ) where {T <: AbstractArray } = _is_lazy_conjugate (T, false )
869+ is_lazy_conjugate (:: T ) where {T <: AbstractArray } = _is_lazy_conjugate (T, False () )
870870
871871function _is_lazy_conjugate (:: Type{T} , isconj) where {T <: AbstractArray }
872872 Tp = parent_type (T)
Original file line number Diff line number Diff line change @@ -827,14 +827,13 @@ end
827827
828828@testset " lazy conj" begin
829829 a = rand (ComplexF64, 2 )
830- @test is_lazy_conjugate (a) == false
830+ @test @inferred ( is_lazy_conjugate (a) ) == false
831831 b = a'
832- @test is_lazy_conjugate (b) == true
832+ @test @inferred ( is_lazy_conjugate (b) ) == true
833833 c = transpose (b)
834- @test is_lazy_conjugate (c) == true
834+ @test @inferred ( is_lazy_conjugate (c) ) == true
835835 d = c'
836- @test is_lazy_conjugate (d) == false
836+ @test @inferred ( is_lazy_conjugate (d) ) == false
837837 e = permutedims (d)
838- @test is_lazy_conjugate (e) == false
839- end
840-
838+ @test @inferred (is_lazy_conjugate (e)) == false
839+ end
You can’t perform that action at this time.
0 commit comments