Skip to content

Commit

Permalink
corrected a div_array error
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2097 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x02lucpo committed Feb 9, 2006
1 parent d6f2da7 commit a6afc9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Exp.rml
Expand Up @@ -1659,7 +1659,7 @@ relation simplify_asub: (Exp, int) => Exp =
simplify(e2) => e2'
----------------------------
simplify_asub(BINARY(e1,DIV_ARRAY_SCALAR(t),e2),indx)
=> (BINARY(e1',DIV_ARRAY_SCALAR(t),e2'))
=> (BINARY(e1',DIV(t),e2'))

rule simplify_asub(e1,indx) => e1' &
simplify_asub(e2,indx) => e2'
Expand Down
2 changes: 2 additions & 0 deletions c_runtime/modelica.h
Expand Up @@ -64,6 +64,8 @@ typedef modelica_real pre_rettype;
typedef modelica_real edge_rettype;
typedef modelica_real initial_rettype;
typedef modelica_real exp_rettype;
typedef modelica_real noEvent_rettype;
typedef modelica_real sqrt_rettype;


#if defined(__cplusplus)
Expand Down

0 comments on commit a6afc9e

Please sign in to comment.