Commit bb42ecc4 authored by legoc's avatar legoc
Browse files

corrected missing jump when a bad event is read in EventArrayAlgorithm

parent 6faa2026
...@@ -68,6 +68,10 @@ void EventArrayAlgorithm<Processor>::process(int32_t * buffer, int32_t size, Eve ...@@ -68,6 +68,10 @@ void EventArrayAlgorithm<Processor>::process(int32_t * buffer, int32_t size, Eve
if (!readEvent(event, bufferPtr + index)) { if (!readEvent(event, bufferPtr + index)) {
_processor.processBadEvent(event); _processor.processBadEvent(event);
// jump 128 bits
index += EVENT_SIZE_32;
continue; continue;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment