Hi,
I'm trying to do the attached code, which fails due to no method
matching. What am I doing wrong?
The #dostuff was just asserts so I fixed it by commenting out the
interior constructor, but would like to understand better.
Cheers,
Sheehan
type SpaceOperator{T<:Number,O<:Operator{T},S<:OperatorSpace} <:
BandedOperator{T}
op::O
space::S
function SpaceOperator{T,O,S}(o::O,s::S)
# do stuff
new(o,s)
end
end
SpaceOperator{T<:Number,S<:OperatorSpace}(o::Operator{T},s::S)=SpaceOperator{T,typeof(o),S}(o,s)