Skip to content

Which argument type does poly expect? #30

@ufechner7

Description

@ufechner7

If I call the function poly with the following parameter it fails:

julia> denvec(sys)[]
3-element Vector{Sym}:
 1
 c
 b
julia> poly(denvec(sys)[], s)
ERROR: MethodError: no method matching getptr(::Vector{PythonCall.Py})

Closest candidates are:
  getptr(::Any)
   @ PythonCall ~/.julia/packages/PythonCall/qTEA1/src/Py.jl:26
  getptr(::PythonCall.Py)
   @ PythonCall ~/.julia/packages/PythonCall/qTEA1/src/Py.jl:49

I guess I need a conversion, but how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions