1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-26 00:25:20 +00:00

Plugin fixes

This commit is contained in:
Riley Jones
2017-08-03 15:16:26 -07:00
parent dad546c5b5
commit 9d5f9d901c
5 changed files with 45 additions and 14 deletions

View File

@@ -95,12 +95,8 @@ public class BinaryNode extends TreeNode {
if(Thread.currentThread().isInterrupted())
return null;
T leftReduce = left.reduce(reducer);
if(Thread.currentThread().isInterrupted())
return null;
T rightReduce = right.reduce(reducer);
if (leftReduce == null || rightReduce == null) return null;
if(Thread.currentThread().isInterrupted())
return null;
T a = reducer.reduceNode(this, leftReduce, rightReduce);
if(Thread.currentThread().isInterrupted())
return null;