fixup for PR
@@ -180,7 +180,7 @@ public class Nd4jDoubleTensor implements DoubleTensor {
} else {
if (this.hasSameShapeAs(o)) {
DoubleTensor difference = o.minus(this);
- return difference.lessThan(epsilon).allTrue();
+ return abs(difference) < epsilon;
}
}
return false;
