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:
authorfenchel <fenchel@squidhive.net>2014-07-13 06:09:24 +0400
committerfenchel <fenchel@squidhive.net>2014-07-13 06:09:24 +0400
commit7330934f9bb4d0cd076a9ba6ff046994ca81ddfd (patch)
treebb33e9b2e03cfee2ad069f7a4bd086fa7b5808b2
parent71c11e2016bfdd2b7254b83f49bb4cfe86e64a85 (diff)
stage_poly: missed a debugging print
-rw-r--r--vowpalwabbit/stagewise_poly.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/vowpalwabbit/stagewise_poly.cc b/vowpalwabbit/stagewise_poly.cc
index 9612a2d5..41784641 100644
--- a/vowpalwabbit/stagewise_poly.cc
+++ b/vowpalwabbit/stagewise_poly.cc
@@ -349,12 +349,12 @@ namespace StagewisePoly
//below is run at training time).
if (poly.cur_depth < min_depths_get(poly, wid_cur) && poly.training) {
if (parent_get(poly, wid_cur)) {
- //#ifdef DEBUG
- /* cout
+#ifdef DEBUG
+ cout
<< "FOUND A TRANSPLANT!!! moving [" << wid_cur
<< "] from depth " << (uint32_t) min_depths_get(poly, wid_cur)
- << " to depth " << poly.cur_depth << endl;*/
- //#endif //DEBUG
+ << " to depth " << poly.cur_depth << endl;
+#endif //DEBUG
parent_toggle(poly, wid_cur);
}
min_depths_set(poly, wid_cur, poly.cur_depth);