File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
matching/src/main/scala/org/kframework/backend/llvm/matching Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -766,13 +766,10 @@ class Matrix private (
766
766
Leaf (row.clause.action.ordinal, newVars)
767
767
}
768
768
// check that all occurrences of the same variable are equal
769
- val sc = row.clause.action.scVars match {
769
+ val sc : DecisionTree = row.clause.action.scVars match {
770
770
// if there is no side condition, continue
771
771
case None => atomicLeaf
772
772
case Some (cond) =>
773
- // if there is a side condition but not all occurrences of the same variable are equal,
774
- // continue
775
- if (nonlinear.nonEmpty) return nonlinearLeaf
776
773
val condVars = cond.map(v => (grouped(v).head._2, grouped(v).head._1.hookAtt))
777
774
val newO = SC (row.clause.action.ordinal)
778
775
// evaluate the side condition and if it is true, continue, otherwise go to the next row
You can’t perform that action at this time.
0 commit comments