Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22385 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Sep 22, 2014
1 parent b42e0c2 commit b7d6d38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Compiler/BackEnd/SimCodeUtil.mo
Expand Up @@ -7363,7 +7363,7 @@ end createVars;

protected function setRecordVariability"evaluates if all scalar record values are parameter
author:Waurich TUD 2014-09"
input list<DAE.Function> funcsIn;
input list<DAE.Function> funcsIn;
input BackendDAE.BackendDAE dae;
output list<DAE.Function> funcsOut;
protected
Expand All @@ -7376,7 +7376,7 @@ protected
algorithm
BackendDAE.DAE(shared=shared) := dae;
BackendDAE.SHARED(knownVars=knVars) := shared;

recVars := List.filterOnTrue(BackendVariable.varList(knVars),BackendVariable.isRecordVar);
paths := List.map(recVars,getVarRecordPath);
funcsOut := setRecordVariability2(funcsIn,recVars,paths,{}); //are all scalars parameters? if so set varKind to PARAM()
Expand Down Expand Up @@ -7460,7 +7460,7 @@ algorithm
then path;
case(DAE.CREF_QUAL(identType=DAE.T_COMPLEX(complexClassType = ClassInf.RECORD(_))),path::rest)
equation
then path;
then path;
case(DAE.CREF_QUAL(componentRef=cref),path::rest)
equation
then getRecordPathFromCref(cref,rest);
Expand Down
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/DAEUtil.mo
Expand Up @@ -6915,7 +6915,7 @@ public function funcArgDim"gets the number of flattened scalars for a FuncArg"
algorithm
dim := match(argIn)
local
DAE.Type ty;
DAE.Type ty;
DAE.Dimensions arrayDims;
list<String> names;
case(DAE.FUNCARG(ty = DAE.T_ARRAY(dims=arrayDims)))
Expand All @@ -6926,7 +6926,7 @@ algorithm
then listLength(names);
else
then 1;
end match;
end match;
end funcArgDim;

end DAEUtil;

0 comments on commit b7d6d38

Please sign in to comment.