public byte type() {
if( _naCnt == -1 ) {        // No rollups yet?
int nas=0, ss=0, nzs=0;
if( _ds != null ) {
assert _ls==null && _xs==null;
<BUG>for( double d : _ds ) if( Double.isNaN(d) ) nas++; else if( d!=0 ) nzs++;
} else {</BUG>
assert _ds==null;
if( _ls != null )
for( int i=0; i<_len; i++ )

public byte type() {
if( _naCnt == -1 ) {        // No rollups yet?
int nas=0, ss=0, nzs=0;
if( _ds != null ) {
assert _ls==null && _xs==null;
for( int i = 0; i < _len; ++i) if( Double.isNaN(_ds[i]) ) nas++; else if( _ds[i]!=0 ) nzs++;
} else {
assert _ds==null;
if( _ls != null )
for( int i=0; i<_len; i++ )
