Skip to content

Commit

Permalink
don't add noEvent twice
Browse files Browse the repository at this point in the history
we already add noEvent inside inline
  • Loading branch information
vruge committed May 17, 2016
1 parent 60be6c4 commit e973987
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -5715,7 +5715,6 @@ algorithm
equation
// try to inline
(e,_,true) = Inline.forceInlineExp(inExp,(funcs,{DAE.NORM_INLINE(),DAE.DEFAULT_INLINE()}),DAE.emptyElementSource);
e = Expression.addNoEventToRelations(e);
(e,(_,_,_,notfound)) = Expression.traverseExpTopDown(e, getEqnsysRhsExp1, iTpl);
then
(e,notfound);
Expand Down
1 change: 0 additions & 1 deletion Compiler/BackEnd/Differentiate.mo
Expand Up @@ -2120,7 +2120,6 @@ algorithm
equation
failure(BackendDAE.DIFF_FULL_JACOBIAN() = inDiffType);
(e,_,true) = Inline.forceInlineExp(inExp,(SOME(inFunctionTree),{DAE.NORM_INLINE(),DAE.DEFAULT_INLINE()}),DAE.emptyElementSource);
e = Expression.addNoEventToRelations(e);
(e, functions) = differentiateExp(e, inDiffwrtCref, inInputData, inDiffType, inFunctionTree, maxIter, expStack);
then
(e, functions);
Expand Down

0 comments on commit e973987

Please sign in to comment.