We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3480f1e commit ddea230Copy full SHA for ddea230
src/lstm/functions.cpp
@@ -20,7 +20,7 @@
20
21
namespace tesseract {
22
23
-#if __cplusplus < 201402 // C++11
+#if __cplusplus < 201402 || defined(__clang__) // C++11
24
25
double TanhTable[kTableSize];
26
double LogisticTable[kTableSize];
src/lstm/functions.h
@@ -35,7 +35,7 @@ constexpr int kTableSize = 4096;
35
// Scale factor for float arg to int index.
36
constexpr double kScaleFactor = 256.0;
37
38
39
40
extern double TanhTable[];
41
extern double LogisticTable[];
0 commit comments