diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-18 14:41:36 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-18 14:41:36 +0300 |
commit | b7d947ebf69ea04c8cf4092f23a8689fd0f37b0e (patch) | |
tree | e4f77ef21e0374cd98dafe74ebb369ffffcb0770 /moses/Manager.cpp | |
parent | f2960786074fcb0e7f91bfeebf29a00898745e38 (diff) |
change dynamic to static cast
Diffstat (limited to 'moses/Manager.cpp')
-rw-r--r-- | moses/Manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Manager.cpp b/moses/Manager.cpp index f8733d7dd..8112193ef 100644 --- a/moses/Manager.cpp +++ b/moses/Manager.cpp @@ -521,7 +521,7 @@ void Manager::OutputWordGraph(std::ostream &outputWordGraphStream, const Hypothe const std::vector<const StatefulFeatureFunction*> &statefulFFs = StatefulFeatureFunction::GetStatefulFeatureFunctions(); for (size_t i = 0; i < statefulFFs.size(); ++i) { const StatefulFeatureFunction *ff = statefulFFs[i]; - const LanguageModel *lm = dynamic_cast<const LanguageModel*>(ff); + const LanguageModel *lm = static_cast<const LanguageModel*>(ff); vector<float> scores = hypo->GetScoreBreakdown().GetScoresForProducer(lm); |