Skip to content

Commit

Permalink
Compiler/BackEnd/Initialization.mo
Browse files Browse the repository at this point in the history
  - coding-style
Compiler/Template/CodegenC.tpl
  - generate inlineVars again
Compiler/BackEnd/SimCodeUtil.mo
  - minor changes to error messages
  - add case for SOLVED_EQUATION


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14623 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Jan 2, 2013
1 parent ccdf070 commit a0b372f
Show file tree
Hide file tree
Showing 5 changed files with 841 additions and 831 deletions.
23 changes: 10 additions & 13 deletions Compiler/BackEnd/BackendDAEUtil.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2142,21 +2142,18 @@ algorithm
list<Integer> xs;
array<Integer> arr;

case ({},_) then false;
case ({},_)
then false;

case ((x :: xs),arr)
equation
0 = arr[x];
res = blockIsDynamic(xs, arr);
then
res;
case ((x :: xs),arr) equation
0 = arr[x];
res = blockIsDynamic(xs, arr);
then res;

case ((x :: xs),arr)
equation
mark_value = arr[x];
(mark_value <> 0) = true;
then
true;
case ((x :: xs),arr) equation
mark_value = arr[x];
(mark_value <> 0) = true;
then true;
end matchcontinue;
end blockIsDynamic;

Expand Down

0 comments on commit a0b372f

Please sign in to comment.