New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modelica.Math.Vectors.normalize contains smooth(0,noEvent(...)) #1759
Comments
Modified by beutlich on 18 Aug 2015 12:25 UTC |
Comment by otter on 28 Sep 2015 07:16 UTC
Fixed in cf31373:
|
Modified by otter on 28 Sep 2015 07:17 UTC |
Comment by stefanv on 28 Sep 2015 13:48 UTC |
Comment by sjoelund.se on 28 Sep 2015 20:46 UTC
Functions generate events when GenerateEvents=true. But it is not set here. |
Comment by otter on 13 Dec 2015 06:54 UTC Replying to [comment:4 stefanv]:
A tool cannot automatically add "smooth" because in general it cannot figure out how "smooth" an if-expression is. If the function is not inlined, "smooth(..)" has no effect. If it is inlined, it gives additional information to the Modelica tool. The tool may or may not use this information (smooth(..) is defined in this way). |
Changelog modified by otter on 13 Dec 2015 06:54 UTC |
Reported by stefanv on 11 Aug 2015 19:10 UTC
To the best of my knowledge,
smooth
andnoEvent
have no meaning inside functions.Migrated-From: https://trac.modelica.org/Modelica/ticket/1759
The text was updated successfully, but these errors were encountered: