Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/sentencepiece.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamitzky <negiga@gmail.com>2017-03-07 16:01:27 +0300
committerYamitzky <negiga@gmail.com>2017-03-07 16:01:27 +0300
commitb8692392e4cc9df63c37eccc93e402d5bf52e3eb (patch)
tree7b26bb6603ad8eb377275efefaed16ea9a7c52dd /src/word_model_trainer.cc
parent0baa308bad28a4b25f45af762e352ea4d591d447 (diff)
Fix compile error by adding <cmath> dependency
Diffstat (limited to 'src/word_model_trainer.cc')
-rw-r--r--src/word_model_trainer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/word_model_trainer.cc b/src/word_model_trainer.cc
index 86bebee..0fee4cc 100644
--- a/src/word_model_trainer.cc
+++ b/src/word_model_trainer.cc
@@ -14,6 +14,8 @@
#include "word_model_trainer.h"
+#include <cmath>
+
#include "stringpiece.h"
#include "util.h"
#include "word_model.h"