Skip to content

More pure functions that contains calls to impure functions #3857

@MarkusOlssonModelon

Description

@MarkusOlssonModelon

Here are some more functions that I think should be declared as impure:

  • Modelica.Math.FastFourierTransform.realFFTwriteToFile - contains calls to several impure functions, e.g. Modelica.Utilities.Files.removeFile.
  • Modelica.Math.Random.Utilities.initializeImpureRandom - contains call to impure function setInternalState.
  • Modelica.Utilities.Examples.readRealParameter - contains call to impure function Modelica.Utilities.Streams.readLine.

Unlike in #3855 it looks like these functions are only called in places where calling impure functions are allowed.

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