Skip to content

Commit

Permalink
- fix for last commit, ignore constants
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13971 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Nov 19, 2012
1 parent dc25bc5 commit d646053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/SimCodeUtil.mo
Expand Up @@ -6829,7 +6829,7 @@ algorithm

// ignore constants
case ((var as BackendDAE.VAR(varKind=BackendDAE.CONST()),(eqns,v,kn,v1,v2,pos)))
then ((var,(eqns,v,var1::kn,v1,v2,pos)));
then ((var,(eqns,v,var::kn,v1,v2,pos)));

case ((var as BackendDAE.VAR(varName=cr, bindExp=SOME(e), source = source),(eqns,v,kn,v1,v2,pos)))
equation
Expand Down

0 comments on commit d646053

Please sign in to comment.