Skip to content

Commit 0f45fe0

Browse files
committed
not really a change
1 parent b6933d4 commit 0f45fe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/sysds/runtime/frame/data/FrameBlock.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ public void write(DataOutput out) throws IOException {
769769
out.writeUTF(getColumnName(j));
770770
_colmeta[j].write(out);
771771
}
772-
if(type >= 0 && nRow > 0) // if allocated write column data
772+
if(type > 0 && nRow > 0) // if allocated write column data
773773
_coldata[j].write(out);
774774
}
775775
}
@@ -910,7 +910,7 @@ public long getExactSerializedSize() {
910910
size += IOUtilFunctions.getUTFSize(getColumnName(j));
911911
size += _colmeta[j].getExactSerializedSize();
912912
}
913-
if(type >= 0)
913+
if(type > 0)
914914
size += _coldata[j].getExactSerializedSize();
915915
}
916916
return size;

0 commit comments

Comments
 (0)