Browse Source

fixing missing include in productquantizer.cc that is causing compilation issues on some platforms

Summary: the issue was reported here : https://github.com/facebookresearch/fastText/issues/666

Reviewed By: EdouardGrave

Differential Revision: D12900614

fbshipit-source-id: 04303eb1442b0ab7956c5a4b56d9d57eeb004961
Onur Çelebi 7 years ago
parent
commit
58fe650b1d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/productquantizer.cc

+ 1 - 0
src/productquantizer.cc

@@ -13,6 +13,7 @@
 #include <iostream>
 #include <numeric>
 #include <stdexcept>
+#include <string>
 
 namespace fasttext {