Skip to content

Commit

Permalink
- Fixed type of skew function.
Browse files Browse the repository at this point in the history
- Added test case mofiles/Skew.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6122 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Sep 14, 2010
1 parent f5aa5b7 commit 02abb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Static.mo
Expand Up @@ -6373,8 +6373,8 @@ algorithm
(cache,DAE.ARRAY(etp1,scalar1,expl1),DAE.PROP(tp1,c1),_,dae1) = elabExp(cache,env, v1, impl, NONE,true,pre);
{3} = Types.getDimensionSizes(tp1);
mexpl = elabBuiltinSkew2(expl1,scalar1);
etp3 = Types.elabType(tp1);
tp1 = Types.liftArray(tp1,DAE.DIM_INTEGER(3));
etp3 = Types.elabType(tp1);
then
(cache,DAE.MATRIX(etp3,3,mexpl),DAE.PROP(tp1,c1),dae1);

Expand Down

0 comments on commit 02abb48

Please sign in to comment.