Skip to content

Commit

Permalink
Swap clock-clause and solverMethod, and rename
Browse files Browse the repository at this point in the history
This is still being discussed, but the original proposal was not popular at all.
  • Loading branch information
henrikt-ma committed Oct 25, 2022
1 parent aaa114c commit eb4c116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RationaleMCP/0031/differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -1272,8 +1272,8 @@ partition /* Beginning of base-partition */
'baseVar' = sample('x');
subpartition
discretization "ImplicitEuler";
Clock _subClock0 = subSample('baseClock', 2); /* Automatically generated clock name. */
solverMethod "ImplicitEuler";
equation
der('cVar1') = noClock('baseVar');
Expand Down
2 changes: 1 addition & 1 deletion RationaleMCP/0031/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ end _F;
> _sub-partition_\
>   **subpartition** _comment_\
>   ( **discretization** _STRING_ **;** )?\
>   _clock-clause_ **;**\
>   ( **solverMethod** _STRING_ **;** )?\
>   ( **equation** ( _equation_ **;** )* \
>   | **algorithm** ( _statement_ **;** )* \
>   )*
Expand Down

0 comments on commit eb4c116

Please sign in to comment.