-
Notifications
You must be signed in to change notification settings - Fork 44
List changes #3780
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
base: master
Are you sure you want to change the base?
List changes #3780
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,28 @@ | ||||||
| Discrete-time variability based on GenerateEvents #3610 | ||||||
|
|
||||||
| # Main change | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Push down:
Suggested change
|
||||||
|
|
||||||
| Variability of functions with GenerateEvents. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Formatting:
Suggested change
|
||||||
|
|
||||||
| # Reason | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above:
Suggested change
|
||||||
|
|
||||||
| Making it possible to create functions that generate events similarly as the built-in functions, and have rules consistent with them just being inlined. | ||||||
|
|
||||||
| # Breaks | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above:
Suggested change
|
||||||
|
|
||||||
| ``` modelica | ||||||
| function foo | ||||||
| input Real x; | ||||||
| output Integer i=bar(x)+(if x>0 then 1 else 0); | ||||||
| annotation(GenerateEvents=true); | ||||||
| end foo; | ||||||
|
|
||||||
| function bar | ||||||
| input Real x; | ||||||
| output Integer i=integer(x); | ||||||
| annotation(GenerateEvents=false); | ||||||
| end bar; | ||||||
| Integer x=foo(time); | ||||||
| ``` | ||||||
|
|
||||||
| The call of `bar` in `foo` is now illegal, similarly as in a model. | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,8 @@ | ||||||
| This list the semantic changes in the various versions. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wording:
Suggested change
|
||||||
|
|
||||||
| Clarifications, examples, reformulations, and changes in layout or other external resources will not be included in this list. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought the plan was to only describe backwards incompatible changes, that is, to not add descriptions of backwards compatible new features? |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Comment on lines
+5
to
+6
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Redundant:
Suggested change
|
||||||
| The are separate files for each release to make it easy to maintain during development, but may later be merged. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo and clarification:
Suggested change
|
||||||
|
|
||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Redundant:
Suggested change
|
||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting: