diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-09-24 15:55:40 +0100 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-09-24 15:55:40 +0100 |
commit | c0d96bd312b1b0ddc18b7ca1a3e066923e03b4b8 (patch) | |
tree | 09461d7a818241420c654d062ab0a4dd8174050d /klm/alone | |
parent | 903fb23675b894f6d3cb2786c134f03313c5d474 (diff) |
Fix up compilation of standalone
Diffstat (limited to 'klm/alone')
-rw-r--r-- | klm/alone/main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klm/alone/main.cc b/klm/alone/main.cc index 7768b89c..e09ab01d 100644 --- a/klm/alone/main.cc +++ b/klm/alone/main.cc @@ -29,7 +29,8 @@ template <class Control> void ReadLoop(const std::string &graph_prefix, Control template <class Model> void RunWithModelType(const char *graph_prefix, const char *model_file, StringPiece weight_str, unsigned int pop_limit, unsigned int threads) { Model model(model_file); - search::Config config(weight_str, pop_limit); + search::Weights weights(weight_str); + search::Config config(weights, pop_limit); if (threads > 1) { #ifdef WITH_THREADS |