Permalink
Browse files

fix typo in comment. (#1850)

  • Loading branch information...
1 parent b21e658 commit 49bdb5c97fccd81b1fdf032eab4599a065c6c4f6 @Liam0205 Liam0205 committed with tqchen Dec 11, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/xgboost/learner.h
@@ -27,7 +27,7 @@ namespace xgboost {
* std::unique_ptr<Learner> learner(new Learner::Create(cache_mats));
* learner.Configure(configs);
*
- * for (int iter = 0; iter < max_iter; ++i) {
+ * for (int iter = 0; iter < max_iter; ++iter) {
* learner->UpdateOneIter(iter, train_mat);
* LOG(INFO) << learner->EvalOneIter(iter, data_sets, data_names);
* }

0 comments on commit 49bdb5c

Please sign in to comment.