Skip to content

Commit

Permalink
Add <cmath> to include.
Browse files Browse the repository at this point in the history
Fix #25
  • Loading branch information
wengxt committed Sep 5, 2021
1 parent f4847af commit 6b65eed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libime/core/languagemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "constants.h"
#include "lattice.h"
#include "lm/model.hh"
#include <cmath>
#include <fcitx-utils/fs.h>
#include <fstream>
#include <type_traits>
Expand Down
1 change: 1 addition & 0 deletions src/libime/core/userlanguagemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "lm/model.hh"
#include "utils.h"
#include "utils_p.h"
#include <cmath>

namespace libime {

Expand Down
1 change: 1 addition & 0 deletions test/testhistorybigram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include "libime/core/historybigram.h"
#include <boost/range/irange.hpp>
#include <cmath>
#include <fcitx-utils/log.h>
#include <sstream>

Expand Down

0 comments on commit 6b65eed

Please sign in to comment.