Skip to content

Commit

Permalink
changed data type back to double, float was unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbuck committed May 19, 2015
1 parent df5e601 commit 1208d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ttables.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class TTable {
public:
TTable() : frozen_(false), probs_initialized_(false) {}
// typedef std::unordered_map<unsigned, double> Word2Double;
typedef google::sparse_hash_map<unsigned, float> Word2Double;
typedef google::sparse_hash_map<unsigned, double> Word2Double;

typedef std::vector<Word2Double> Word2Word2Double;

Expand Down

0 comments on commit 1208d11

Please sign in to comment.