Skip to content

Commit

Permalink
- Don't use Inst.updateCompeltsMods on DAE.NOMOD. This reduces failtr…
Browse files Browse the repository at this point in the history
…ace logs.

- Updated multibody testcases.
  * Changed eol-style to native.
  * updateCompeltsMods caused changes in the order in which functions in the DAE were generated.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5065 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 2, 2010
1 parent 0f8cb8b commit 1424f54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Compiler/Inst.mo
Expand Up @@ -4064,14 +4064,12 @@ algorithm
then
(cache,env3,ih,((comp,cmod_1) :: res),csets,dae);

/* Need to update testcases if this is used since the function DAE is a hashtable. */
/*
/* No need to update a mod unless there's actually anything there. */
case (cache,env,ih,pre,((elMod as (_,DAE.NOMOD())) :: xs),ci_state,csets,impl)
equation
(cache,env,ih,res,csets,dae) = updateCompeltsMods(cache, env, ih, pre, xs, ci_state, csets, impl);
then
(cache,env,ih,elMod::res,csets,dae);
*/

case (cache,env,ih,pre,((comp,cmod) :: xs),ci_state,csets,impl)
equation
Expand Down

0 comments on commit 1424f54

Please sign in to comment.