Skip to content

Commit

Permalink
More local clang-tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jerinphilip committed Apr 9, 2024
1 parent bdc7276 commit ea0ed38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions slimt/Search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,7 @@ NBest BeamSearch::generate(const Input &input, size_t beam_size) {
}

Histories histories = step.finish();

NBest nbest;
return nbest;
return histories;
}

} // namespace slimt
1 change: 1 addition & 0 deletions slimt/Transliterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <cstddef>
#include <string>
#include <utility>
#include <vector>

#include "slimt/Input.hh"
Expand Down

0 comments on commit ea0ed38

Please sign in to comment.