Skip to content

Commit

Permalink
Update src/crab/wto.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
keith-horton and coderabbitai[bot] committed Nov 1, 2024
1 parent 09f0b90 commit d722b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crab/wto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ wto_t::wto_t(const cfg_t& cfg) : wto_t{std::move(wto_builder_t(cfg).wto)} {}
std::vector<label_t> wto_t::collect_heads(const label_t& label) {
std::vector<label_t> heads;
for (auto h = head(label); h; h = head(*h)) {
heads.emplace_back(*h);
heads.push_back(*h);
}
return heads;
}
Expand Down

0 comments on commit d722b89

Please sign in to comment.