Skip to content

polyvar broken #183

@lalondeo

Description

@lalondeo

The following code errors:

using DynamicPolynomials; 
@polyvar x[1:n]

With stacktrace:
PolyVar{true}[Error showing value of type Tuple{Vector{PolyVar{true}}}:

SYSTEM (REPL): showing an error caused an error
ERROR: 1-element ExceptionStack:
MethodError: no method matching name_base_indices(::PolyVar{true})
The function `name_base_indices` exists, but no method is defined for this combination of argument types.
etc.

The unit test corresponding to polynomial vector also doesn't pass.

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