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

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@hunch.net>2011-06-27 19:06:23 +0400
committerJohn Langford <jl@hunch.net>2011-06-27 19:06:23 +0400
commit4aabb03733e3d19e73545a46f4e92dc321eb0341 (patch)
tree91b4445bcdd770fd51fdbaf71a1bf626bef8d8bd /lda_core.cc
parenta04d824f0de808cbcce9607dabaf0c3c560dee13 (diff)
make new adaptive norm an option
Diffstat (limited to 'lda_core.cc')
-rw-r--r--lda_core.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lda_core.cc b/lda_core.cc
index 71180d42..2d9e6d7d 100644
--- a/lda_core.cc
+++ b/lda_core.cc
@@ -94,7 +94,7 @@ fastdigamma (float x)
#define mydigamma fastdigamma
#define mylgamma fastlgamma
-#ifdef __SSE__
+#ifdef __SSE2__
typedef float v4sf __attribute__ ((__vector_size__ (16)));
typedef int v4si __attribute__ ((__vector_size__ (16)));
typedef float v4sf_aligned __attribute__ ((__vector_size__ (16))) __attribute__
@@ -265,7 +265,7 @@ vexpdigammify_2(float* gamma,
#define myexpdigammify expdigammify
#define myexpdigammify_2 expdigammify_2
-#endif // __SSE__
+#endif // __SSE2__
} // end anonymous namespace