Changeset 20df562 in OpenModelica


Ignore:
Timestamp:
2021-04-13T02:23:05+02:00 (3 years ago)
Author:
phannebohm <philip.hannebohm@…>
Parents:
91c7501
git-author:
phannebohm <philip.hannebohm@…> (04/13/21 02:20:53)
git-committer:
phannebohm <philip.hannebohm@…> (04/13/21 02:23:05)
Message:

Remove double negation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/SimCode/SimCodeUtil.mo

    r7d6513e r20df562  
    31853185      then (cr,e);
    31863186    case((DAE.UNARY(DAE.UMINUS(_), DAE.CREF(cr, _)), e))
    3187       algorithm
    3188         e := Expression.negate(e);
    3189       then (cr,Expression.negate(e));
     3187      then (cr,Expression.negate(e)); // PHI: does this ever happen?
    31903188    else
    31913189      algorithm
Note: See TracChangeset for help on using the changeset viewer.