Skip to content

Commit

Permalink
Fix ceval of false:true
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15952 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed May 2, 2013
1 parent d480f16 commit 705fc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/Ceval.mo
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ algorithm
then
(cache,v,stOpt);

case (cache, env, DAE.RANGE(ty = DAE.T_INTEGER(varLst = _), start = start, step = NONE(),stop = stop), impl, stOpt, msg,_)
case (cache, env, DAE.RANGE(ty = DAE.T_BOOL(varLst = _), start = start, step = NONE(),stop = stop), impl, stOpt, msg,_)
equation
(cache, Values.BOOL(bstart), stOpt) = ceval(cache, env, start, impl, stOpt,msg,numIter+1);
(cache, Values.BOOL(bstop), stOpt) = ceval(cache, env, stop, impl, stOpt,msg,numIter+1);
Expand Down

0 comments on commit 705fc3f

Please sign in to comment.