Skip to content

Commit 8eff701

Browse files
committed
debug binary class
1 parent 2306b33 commit 8eff701

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/org/apache/sysds/hops/codegen/cplan/java

1 file changed

+2
-2
lines changed

src/main/java/org/apache/sysds/hops/codegen/cplan/java/Binary.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ else if( !vectorVector )
145145
case VECT_GREATER:{
146146
String vectName = type.getVectorPrimitiveName();
147147
if(sparseTemplate && sparseLhs && sparseRhs) {
148-
return " SparseRowVector %TMP% = LibSpoofPrimitives.vect"+vectName+"Write(%LEN%, %IN1v%, %IN2v%, %IN1i%, %IN2i%, %POS1%, %POS2%, %LEN1%, %LEN2%);\n";
148+
return " SparseRowVector %TMP% = LibSpoofPrimitives.vect"+vectName+"Write(%LEN%, %IN1v%, %IN2v%, %IN1i%, %IN2i%, %POS1%, %POS2%, %SLEN1%, %SLEN2%);\n";
149149
} else {
150150
return sparseLhs ?
151151
" double[] %TMP% = LibSpoofPrimitives.vect"+vectName+"Write(%IN1v%, %IN2%, %IN1i%, %POS1%, %POS2%, alen, %LEN%);\n" :
@@ -159,7 +159,7 @@ else if( !vectorVector )
159159
case VECT_GREATEREQUAL: {
160160
String vectName = type.getVectorPrimitiveName();
161161
if(sparseTemplate && sparseLhs && sparseRhs) {
162-
return " double[] %TMP% = LibSpoofPrimitives.vect"+vectName+"Write(%LEN%, %IN1v%, %IN2v%, %IN1i%, %IN2i%, %POS1%, %POS2%, %LEN1%, %LEN2%);\n";
162+
return " double[] %TMP% = LibSpoofPrimitives.vect"+vectName+"Write(%LEN%, %IN1v%, %IN2v%, %IN1i%, %IN2i%, %POS1%, %POS2%, %SLEN1%, %SLEN2%);\n";
163163
} else {
164164
return sparseLhs ?
165165
" double[] %TMP% = LibSpoofPrimitives.vect"+vectName+"Write(%IN1v%, %IN2%, %IN1i%, %POS1%, %POS2%, alen, %LEN%);\n" :

0 commit comments

Comments
 (0)