Skip to content

Commit 5814140

Browse files
committed
Cleanup
1 parent c8cd377 commit 5814140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/water/Value.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ else if( c == ',' && i+1<LEN && b[i+1]!=' ' )
244244
public boolean isRawData() {
245245
if(isFrame()){
246246
Frame fr = get();
247-
return fr.vecs().length == 1 && (fr.vecs()[0] instanceof ByteVec);
247+
return fr.numCols() == 1 && (fr.vecs()[0] instanceof ByteVec);
248248
}
249249
// either simple value with bytearray, un-parsed value array or byte vec
250250
return _type == TypeMap.PRIM_B || isByteVec();

0 commit comments

Comments
 (0)