summaryrefslogtreecommitdiff
path: root/dtrain/dtrain.cc
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-29 17:19:18 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-29 17:19:18 +0200
commit1c0b252dfa0169eef0a4bdb7442d433b2bf8c1c7 (patch)
treeead6df22bd9dccb6566341e12af6ec4c46b27631 /dtrain/dtrain.cc
parent70585a59a738d0148ed2da90252050f4d86f4a22 (diff)
reverted changes in upstream
Diffstat (limited to 'dtrain/dtrain.cc')
-rw-r--r--dtrain/dtrain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrain/dtrain.cc b/dtrain/dtrain.cc
index b662cd26..8b1fc953 100644
--- a/dtrain/dtrain.cc
+++ b/dtrain/dtrain.cc
@@ -518,7 +518,7 @@ main(int argc, char** argv)
}
unsigned nonz = 0;
- if (!quiet || hstreaming) nonz = (unsigned)lambdas.size_nonzero();
+ if (!quiet || hstreaming) nonz = (unsigned)lambdas.num_nonzero();
if (!quiet) {
cerr << _p5 << _p << "WEIGHTS" << endl;