Skip to content

defaults returns internal stuff #3408

@TorkelE

Description

@TorkelE

After the latest update, defaults is broken:

using ModelingToolkit
using ModelingToolkit: t_nounits as t
@parameters p d
@variables X(t)
@mtkbuild osys = ODESystem([Differential(t)(X) ~ p - d*X], t)
defaults(osys) #  Initial(X(t)) => 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions