ModelicaStandardLibrary icon indicating copy to clipboard operation
ModelicaStandardLibrary copied to clipboard

Late inlining of Modelica.Mechanics.MultiBody.Frames.Internal.maxWithoutEvent

Open christoff-buerger opened this issue 3 years ago • 0 comments

The current implementations of maxWithoutEvent, maxWithoutEvent_d and maxWithoutEvent_dd in Modelica.Mechanics.MultiBody.Frames.Internal all have the annotation Inline=false. This is not good. They should have lateInline = true annotated instead, to still enable inlining for performance optimization; after all, their implementations are just expressions.

@MartinOtter, @tobolar : Can you confirm this?

christoff-buerger avatar Nov 30 '21 14:11 christoff-buerger