Skip to content

Commit

Permalink
- Var is either continous or discrete
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11333 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Mar 7, 2012
1 parent 44cf4ed commit 8d091bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Compiler/BackEnd/BackendVariable.mo
Expand Up @@ -830,6 +830,9 @@ algorithm
Boolean res;
BackendDAE.Var v;
list<BackendDAE.Var> vs;
case ((BackendDAE.VAR(varKind=BackendDAE.VARIABLE(),varType = DAE.T_INTEGER(source = _)) :: _)) then false;
case ((BackendDAE.VAR(varKind=BackendDAE.VARIABLE(),varType = DAE.T_BOOL(source = _)) :: _)) then false;
case ((BackendDAE.VAR(varKind=BackendDAE.VARIABLE(),varType = DAE.T_ENUMERATION(source = _)) :: _)) then false;
case ((BackendDAE.VAR(varKind=BackendDAE.VARIABLE()) :: _)) then true;
case ((BackendDAE.VAR(varKind=BackendDAE.STATE()) :: _)) then true;
case ((BackendDAE.VAR(varKind=BackendDAE.STATE_DER()) :: _)) then true;
Expand Down

0 comments on commit 8d091bc

Please sign in to comment.