Skip to content
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

ModelicaReference.Operators.'sign()' does not generate events #2324

Closed
HansOlsson opened this issue Sep 20, 2017 · 0 comments

Comments

Projects
None yet
3 participants
@HansOlsson
Copy link
Contributor

commented Sep 20, 2017

The comment in the description is not correct:
"Is expanded into "noEvent(if v > 0 then 1 else if v < 0 then -1 else 0)". Argument v needs to be an Integer or Real expression. [Note, outside of a when clause state events are triggered.]"

The noEvent means that it does not generate state events; I will see if I can go through the entire reference and generate a pull-request.

@beutlich beutlich added this to the MSL_next-MINOR-version milestone Sep 20, 2017

@beutlich beutlich assigned HansOlsson and unassigned dietmarw Sep 20, 2017

beutlich pushed a commit to wischhusen/Modelica-1 that referenced this issue May 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.