Skip to content

Commit

Permalink
Merge pull request mlpack#969 from amoudgl/fix_typo
Browse files Browse the repository at this point in the history
Minor typo fix.
  • Loading branch information
zoq authored Mar 28, 2017
2 parents 64cd71b + ca01fbf commit f412872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mlpack/core/optimizers/ada_grad/ada_grad.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class AdaGrad
//! Get the maximum number of iterations (0 indicates no limit).
size_t MaxIterations() const { return optimizer.MaxIterations(); }
//! Modify the maximum number of iterations (0 indicates no limit).
size_t& MaxIterations() { return optimizer.MaxIteratisons(); }
size_t& MaxIterations() { return optimizer.MaxIterations(); }

//! Get the tolerance for termination.
double Tolerance() const { return optimizer.Tolerance(); }
Expand Down

0 comments on commit f412872

Please sign in to comment.