Skip to content

There are no Array{Segment{Complex{Float64}},1} method for "Space" function #121

@Jiaqi-knight

Description

@Jiaqi-knight

Hello,sir.
When I run the example of Lapalace.jl:
cr = exp.(im(0:N-1)/N)
crl = (1-2imr)cr
crr = (1+2im
r)cr
dom = ∪(Segment.(crl,crr))
sp = Space(dom)

MethodError: no method matching Space(::Array{Segment{Complex{Float64}},1})
Closest candidates are:
Space(!Matched::Space) at /home/wjq/.julia/packages/ApproxFunBase/EjdxK/src/Space.jl:58
Space(!Matched::Number) at /home/wjq/.julia/packages/ApproxFunBase/EjdxK/src/Space.jl:497
Space(!Matched::DomainSets.ProductDomain) at /home/wjq/.julia/packages/ApproxFunBase/EjdxK/src/Multivariate/TensorSpace.jl:250
...

Stacktrace:
[1] top-level scope at show.jl:555
[2] top-level scope at In[117]:7

How can I fix it?
Thankyou!

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