modelica-3rdparty / ExternalMedia

The ExternalMedia library provides a framework for interfacing external codes computing fluid properties to Modelica.Media-compatible component models.
53 stars 36 forks source link

External functions in ExternalMedia should be explicitly declared as pure #108

Open casella opened 5 months ago

casella commented 5 months ago

Otherwise they will be assumed as impure by default. In fact, they are pure: if you call them with the same library string and the same input value, they are expected to return the same outputs.