Skip to content

Commit

Permalink
- Reverted some changes from r6146, since they broke some Modelica.Ma…
Browse files Browse the repository at this point in the history
…th functions.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6148 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Sep 17, 2010
1 parent abc137c commit 9c07948
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/Inst.mo
Expand Up @@ -8534,7 +8534,8 @@ algorithm
functionArgs = Absyn.FUNCTIONARGS(args = {Absyn.CREF(componentRef = cr),_}))) :: ds),impl,st,doVect,pre)
equation
true = Absyn.crefEqual(cref, cr);
dim = Util.if_(OptManager.getOption("checkModel"), DAE.DIM_INTEGER(3), DAE.DIM_NONE);
//dim = Util.if_(OptManager.getOption("checkModel"), DAE.DIM_INTEGER(3), DAE.DIM_NONE);
dim = DAE.DIM_NONE;
(cache,l,dae) = elabArraydimDecl(cache,env, cref, ds, impl, st,doVect,pre);
then
(cache, dim :: l, dae);
Expand Down

0 comments on commit 9c07948

Please sign in to comment.