modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
452 stars 165 forks source link

Make type explicit for fill operator #4393

Open beutlich opened 2 months ago

beutlich commented 2 months ago

This is derived from #4389. It helps tools to correctly deduce the array type, just by checking the argument of fill.

Note, that it already was a mixed usage of Integer zero and Real zero in Media functions.