Changeset 14132


Ignore:
Timestamp:
Nov 21, 2019 2:09:32 PM (2 weeks ago)
Author:
jwedin
Message:

Added a hook. #5720

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-cw-ii/Compiler/ModelicaMiddleEnd/src/jastadd/optimizations/VariabilityPropagation.jrag

    r12119 r14132  
    8989
    9090    // Hook for checks that are needed in optimica
    91     syn boolean FEquation.canPropagate(FVariable var, FExp solution) = true;
     91    syn boolean FEquation.canPropagate(FVariable var, FExp solution) {
     92            return canPropagateDummy(var, solution);
     93    }
     94
     95    // Hook to facilitate extensions
     96    syn boolean FEquation.canPropagateDummy(FVariable var, FExp solution) = true;
    9297
    9398    public class FClass {
Note: See TracChangeset for help on using the changeset viewer.