Skip to content
Snippets Groups Projects
Commit 4a9bf953 authored by ilor's avatar ilor
Browse files

Merge branch 'master' of nlp.pwr.wroc.pl:wccl

parents f91daedf 83aaf7e1
Branches
No related merge requests found
...@@ -33,6 +33,7 @@ void UnmarkMatch::execute(const ActionExecContext& context) const ...@@ -33,6 +33,7 @@ void UnmarkMatch::execute(const ActionExecContext& context) const
for (int i = 0; i < channel.size(); ++i) { for (int i = 0; i < channel.size(); ++i) {
if (channel.segments()[i] == segment_idx) { if (channel.segments()[i] == segment_idx) {
channel.set_segment_at(i, 0); channel.set_segment_at(i, 0);
channel.set_head_at(i, false);
} }
} }
} }
......
...@@ -37,6 +37,7 @@ Bool Unmark::execute(const ActionExecContext& context) const ...@@ -37,6 +37,7 @@ Bool Unmark::execute(const ActionExecContext& context) const
for (int i = 0; i < channel.size(); ++i) { for (int i = 0; i < channel.size(); ++i) {
if (channel.segments()[i] == segment_idx) { if (channel.segments()[i] == segment_idx) {
channel.set_segment_at(i, 0); channel.set_segment_at(i, 0);
channel.set_head_at(i, false);
} }
} }
return Bool(true); return Bool(true);
......
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