summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-03-18 10:36:26 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2011-03-18 10:36:26 -0400
commit712c9d69afde47a1bea81d505ba736462f6214f4 (patch)
treec255592f8a681bc362a89e786a54fed60775e237 /training
parentcdf62de81862fbb354d8dbaf7a41e5119c146d04 (diff)
compile fix
Diffstat (limited to 'training')
-rw-r--r--training/optimize_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/optimize_test.cc b/training/optimize_test.cc
index 6fa5efd4..fe7ca70f 100644
--- a/training/optimize_test.cc
+++ b/training/optimize_test.cc
@@ -104,7 +104,7 @@ void TestOnline() {
double eta0 = 0.2;
shared_ptr<LearningRateSchedule> r(new ExponentialDecayLearningRate(N, eta0, 0.85));
//shared_ptr<LearningRateSchedule> r(new StandardLearningRate(N, eta0));
- CumulativeL1OnlineOptimizer opt(r, N, C);
+ CumulativeL1OnlineOptimizer opt(r, N, C, std::vector<int>());
assert(r->eta(10) < r->eta(1));
}