Skip to content

Commit 2e1147a

Browse files
committed
[MINOR] fix previous commit
1 parent aa4ce0b commit 2e1147a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/main/java/org/apache/sysds/hops/BinaryOp.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,24 +1184,21 @@ public boolean supportsMatrixScalarOperations() {
11841184
return false;
11851185
}
11861186
}
1187-
1187+
11881188
public boolean isPPredOperation() {
1189-
switch(op){
1190-
case LESS:
1189+
switch(op) {
1190+
case LESS:
11911191
case LESSEQUAL:
11921192
case GREATER:
11931193
case GREATEREQUAL:
11941194
case EQUAL:
11951195
case NOTEQUAL:
11961196
return true;
1197-
default :
1197+
default:
11981198
return false;
11991199
}
1200-
return (op==OpOp2.LESS ||op==OpOp2.LESSEQUAL
1201-
||op==OpOp2.GREATER ||op==OpOp2.GREATEREQUAL
1202-
||op==OpOp2.EQUAL ||op==OpOp2.NOTEQUAL);
12031200
}
1204-
1201+
12051202
public OpOp2 getComplementPPredOperation() {
12061203
switch( op ) {
12071204
case LESS: return OpOp2.GREATEREQUAL;

0 commit comments

Comments
 (0)