Skip to content

Commit

Permalink
[MINOR] fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Feb 3, 2025
1 parent aa4ce0b commit 2e1147a
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/main/java/org/apache/sysds/hops/BinaryOp.java
Original file line number Diff line number Diff line change
Expand Up @@ -1184,24 +1184,21 @@ public boolean supportsMatrixScalarOperations() {
return false;
}
}

public boolean isPPredOperation() {
switch(op){
case LESS:
switch(op) {
case LESS:
case LESSEQUAL:
case GREATER:
case GREATEREQUAL:
case EQUAL:
case NOTEQUAL:
return true;
default :
default:
return false;
}
return (op==OpOp2.LESS ||op==OpOp2.LESSEQUAL
||op==OpOp2.GREATER ||op==OpOp2.GREATEREQUAL
||op==OpOp2.EQUAL ||op==OpOp2.NOTEQUAL);
}

public OpOp2 getComplementPPredOperation() {
switch( op ) {
case LESS: return OpOp2.GREATEREQUAL;
Expand Down

0 comments on commit 2e1147a

Please sign in to comment.