Skip to content

Unary operations on adjoint fail #107

@andreasvarga

Description

@andreasvarga

I encoutered the following errors:

julia> L = LinearOperator(rand(2,2))
Linear operator
  nrow: 2
  ncol: 2
  eltype: Float64
  symmetric: false
  hermitian: false

julia> -L'
ERROR: type AdjointLinearOperator has no field nrow
Stacktrace:
 [1] getproperty(::Any, ::Symbol) at .\Base.jl:20
 [2] -(::AdjointLinearOperator{Float64,getfield(LinearOperators, Symbol("##10#13")){Array{Float64,2}},getfield(LinearOperators, Symbol("##11#14")){Array{Float64,2}},getfield(LinearOperators, Symbol("##12#15")){Array{Float64,2}}}) at C:\Users\Andreas\.julia\packages\LinearOperators\La2Ey\src\LinearOperators.jl:260
 [3] top-level scope at REPL[56]:1

julia> 2*L'
ERROR: type AdjointLinearOperator has no field nrow
Stacktrace:
 [1] getproperty(::Any, ::Symbol) at .\Base.jl:20
 [2] *(::Int64, ::AdjointLinearOperator{Float64,getfield(LinearOperators, Symbol("##10#13")){Array{Float64,2}},getfield(LinearOperators, Symbol("##11#14")){Array{Float64,2}},getfield(LinearOperators, Symbol("##12#15")){Array{Float64,2}}}) at C:\Users\Andreas\.julia\packages\LinearOperators\La2Ey\src\LinearOperators.jl:311
 [3] top-level scope at REPL[57]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions