Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffclick committed May 15, 2015
1 parent c8cd377 commit 5814140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/water/Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ else if( c == ',' && i+1<LEN && b[i+1]!=' ' )
public boolean isRawData() {
if(isFrame()){
Frame fr = get();
return fr.vecs().length == 1 && (fr.vecs()[0] instanceof ByteVec);
return fr.numCols() == 1 && (fr.vecs()[0] instanceof ByteVec);
}
// either simple value with bytearray, un-parsed value array or byte vec
return _type == TypeMap.PRIM_B || isByteVec();
Expand Down

0 comments on commit 5814140

Please sign in to comment.