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
commited47102885e52c52146fc8631ff624779bd7eb0a (patch)
tree429c2df42e2ff5ac49176b67ed694e9d47c695cf /training
parent4482fe7a82e3f9a197bf65d60635885c4bfab195 (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));
}