Skip to content

Commit

Permalink
- squash tabs in RemoveSimpleEquations.mo
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14251 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Dec 6, 2012
1 parent 03aa37e commit b08ace6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Compiler/BackEnd/RemoveSimpleEquations.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1595,16 +1595,16 @@ protected
BackendDAE.Var v1;
algorithm
BackendDAE.VAR(varName=cr) := v;
// add bindExp
v1 := BackendVariable.setBindExp(v,exp);
ops := DAEUtil.getSymbolicTransformations(source);
v1 := BackendVariable.mergeVariableOperations(v1,DAE.SOLVED(cr,exp)::ops);
// State?
bs := BackendVariable.isStateVar(v);
v1 := Debug.bcallret2(bs,BackendVariable.setVarKind,v1,BackendDAE.DUMMY_STATE(),v1);
// remove from vars
(oVars,_) := BackendVariable.removeVar(i,iVars);
// store changed var
// add bindExp
v1 := BackendVariable.setBindExp(v,exp);
ops := DAEUtil.getSymbolicTransformations(source);
v1 := BackendVariable.mergeVariableOperations(v1,DAE.SOLVED(cr,exp)::ops);
// State?
bs := BackendVariable.isStateVar(v);
v1 := Debug.bcallret2(bs,BackendVariable.setVarKind,v1,BackendDAE.DUMMY_STATE(),v1);
// remove from vars
(oVars,_) := BackendVariable.removeVar(i,iVars);
// store changed var
oshared := func(v1,ishared);
end moveVarShared;

Expand Down

0 comments on commit b08ace6

Please sign in to comment.