Changeset 1076 for proto/parabix2


Ignore:
Timestamp:
Apr 7, 2011, 7:07:56 PM (8 years ago)
Author:
cameron
Message:

Incorporating ScanToFirst?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2_pablo.py

    r946 r1076  
    341341        #
    342342        # Initiate the scan
    343         CtCDPI_Cursor = 1
    344         CtCDPI_Cursor = bitutil.ScanTo(CtCDPI_Cursor, CtCDPI_start)
    345         CtCDPI_Cursor &= EOF_mask
     343        CtCDPI_Cursor = bitutil.ScanToFirst(CtCDPI_start)
    346344        while CtCDPI_Cursor:
    347345                CtCDPI_starts |= CtCDPI_Cursor
     
    370368                CtCDPI_Cursor = PI_Cursor | CD_Cursor | Ct_Cursor
    371369                CtCDPI_Cursor = bitutil.ScanTo(CtCDPI_Cursor, CtCDPI_start)
    372                 CtCDPI_Cursor &= EOF_mask
    373370       
    374371                ctCDPI_Callouts.CtCDPI_mask = bitutil.Advance(ctCDPI_Callouts.CD_ends | ctCDPI_Callouts.Ct_ends | ctCDPI_Callouts.PI_ends) - CtCDPI_starts             
Note: See TracChangeset for help on using the changeset viewer.