Skip to content
Snippets Groups Projects
Commit a286ba3c authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Fix logic reversal bug when checking for start of a segment.

parent 12fbc13f
Branches
No related merge requests found
......@@ -24,7 +24,7 @@ MatchResult IsAnnotatedAs::apply(const ActionExecContext& context) const
return MatchResult();
}
// ok, so are we at the beginning of the segment?
if (channel.get_segment_at(orig_iter - 1) != segment_idx) {
if (channel.get_segment_at(orig_iter - 1) == segment_idx) {
return MatchResult();
}
// we are at the beginning of a segment with given annotation, so match it (continuous fragment at least).
......
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