@@ -130,7 +130,7 @@ protected List<Pulse> getPulses(int n, IndexedTable it, DataBank wfBank) {
130130 for (int j =0 ; j <n ; ++j )
131131 samples [j ] = wfBank .getShort (String .format ("s%d" ,j +1 ), i );
132132 long timestamp = wfBank .getLong ("timestamp" ,i );
133- long time = wfBank .getLong ("time" ,i );
133+ int time = wfBank .getInt ("time" ,i );
134134 List <Pulse > p = it ==null ? extract (null , i , timestamp , time , samples ) :
135135 extract (it .getNamedEntry (getIndices (wfBank ,i )), i , timestamp , time , samples );
136136 if (p !=null && !p .isEmpty ()) {
@@ -149,7 +149,7 @@ protected List<Pulse> getPulses(int n, IndexedTable it, Bank wfBank) {
149149 samples [j ] = wfBank .getShort (String .format ("s%d" ,j +1 ), i );
150150 // FIXME: Can speed this up (but looks like not for DataBank?):
151151 //samples[j] = wfBank.getShort(String.format(5+j,j+1), i);
152- long time = wfBank .getLong ("time" ,i );
152+ int time = wfBank .getInt ("time" ,i );
153153 long timestamp = wfBank .getLong ("timestamp" ,i );
154154 List p = it ==null ? extract (null , i , timestamp , time , samples ) :
155155 extract (it .getNamedEntry (getIndices (wfBank ,i )), i , timestamp , time , samples );
0 commit comments