Skip to content

Calling impure function print from equation section in Inverse_sine example #3856

@MarkusOlssonModelon

Description

@MarkusOlssonModelon

I have found an issue with Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine. It contains a call to Modelica.Utilities.Streams.print directly in the equation section. Since print is an impure function this is not allowed.

I suggest adding an initial equation section and moving the call to print there.

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