Skip to content

Commit

Permalink
- Fix bootstrap compilation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9807 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 14, 2011
1 parent d272489 commit 3ab6887
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendDAEOptimize.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,7 @@ algorithm
case((e as DAE.CREF(cr,_), (_,vars,knvars,true)))
equation
(var::_,_::_)= BackendVariable.getVar(cr, knvars) "input variables stored in known variables are input on top level" ;
DAE.INPUT = BackendVariable.getVarDirection(var);
DAE.INPUT() = BackendVariable.getVarDirection(var);
then ((e,false,(true,vars,knvars,true)));
case((e,(b,vars,knvars,b1))) then ((e,not b,(b,vars,knvars,b1)));

Expand Down Expand Up @@ -4177,7 +4177,7 @@ algorithm
jacKnownVars = BackendDAEUtil.emptyVars();
jacKnownVars = BackendVariable.mergeVariables(jacKnownVars,orderedVars);
jacKnownVars = BackendVariable.mergeVariables(jacKnownVars,knownVars);
(jacKnownVars,_) = BackendVariable.traverseBackendDAEVarsWithUpdate(jacKnownVars,setVarsDirection,(DAE.INPUT));
(jacKnownVars,_) = BackendVariable.traverseBackendDAEVarsWithUpdate(jacKnownVars,setVarsDirection,(DAE.INPUT()));
jacExternalObjects = BackendDAEUtil.emptyVars();
jacAliasVars = BackendDAEUtil.emptyAliasVariables();
jacOrderedEqs = BackendDAEUtil.listEquation(derivedEquations);
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Util/Error.mo
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ protected constant list<tuple<Integer, MessageType, Severity, String>> errorTabl
(HIGHER_VARIABILITY_BINDING,TRANSLATION(),ERROR(),
"Component %s of variability %s has binding %s of higher variability %s."),

(WARNING_JACOBIAN_EQUATION_SOLVE(),SYMBOLIC(),WARNING(),
(WARNING_JACOBIAN_EQUATION_SOLVE,SYMBOLIC(),WARNING(),
"jacobian equation %s could not solve proper for %s. Assume %s=0."),

(INCOMPATIBLE_TYPES_FUNC,SYMBOLIC(),ERROR(),
Expand Down

0 comments on commit 3ab6887

Please sign in to comment.