diff --git a/src/mlpack/methods/rann/ra_model_impl.hpp b/src/mlpack/methods/rann/ra_model_impl.hpp index 093ce74d10..7e4753603c 100644 --- a/src/mlpack/methods/rann/ra_model_impl.hpp +++ b/src/mlpack/methods/rann/ra_model_impl.hpp @@ -222,7 +222,7 @@ bool& SingleModeVisitor::operator()(RAType* ra) const { if (ra) return ra->SingleMode(); - throw std::runtime_error("no rank-approximate model is intialized"); + throw std::runtime_error("no rank-approximate model is initialized"); } //! Exposes the referenceSet of the given RAType. @@ -231,7 +231,7 @@ const arma::mat& ReferenceSetVisitor::operator()(RAType* ra) const { if (ra) return ra->ReferenceSet(); - throw std::runtime_error("no rank-approximate model is intialized"); + throw std::runtime_error("no rank-approximate model is initialized"); } //! Exposes the Naive() method of the given RAType instance. @@ -240,7 +240,7 @@ bool& NaiveVisitor::operator()(RAType* ra) const { if (ra) return ra->Naive(); - throw std::runtime_error("no rank-approximate search model is intialized"); + throw std::runtime_error("no rank-approximate search model is initialized"); } //! For cleaning memory