Skip to content

Commit

Permalink
- Added inlining of Util.if_
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7739 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jan 21, 2011
1 parent 1bdae17 commit 0e97306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Util/Util.mo
Expand Up @@ -4985,7 +4985,7 @@ public function if_ "function: if_
input Type_a valFalse;
output Type_a outVal;
replaceable type Type_a subtypeof Any;
//annotation(__OpenModelica_EarlyInline = true);
annotation(__OpenModelica_EarlyInline = true);
algorithm
outVal := match (cond,valTrue,valFalse)
case (true,_,_) then valTrue;
Expand Down

0 comments on commit 0e97306

Please sign in to comment.