diff --git a/src/mlpack/methods/fastmks/fastmks_model_impl.hpp b/src/mlpack/methods/fastmks/fastmks_model_impl.hpp index b9c02e5e53..00534c7528 100644 --- a/src/mlpack/methods/fastmks/fastmks_model_impl.hpp +++ b/src/mlpack/methods/fastmks/fastmks_model_impl.hpp @@ -40,10 +40,10 @@ void BuildFastMKSModel(FastMKS& f, //! This is only called when something goes wrong. template -void BuildFastMKSModel(FastMKSType& f, - KernelType& k, - const arma::mat& referenceData, - const double base) +void BuildFastMKSModel(FastMKSType& /* f */, + KernelType& /* k */, + const arma::mat& /* referenceData */, + const double /* base */) { throw std::invalid_argument("FastMKSModel::BuildModel(): given kernel type is" " not equal to kernel type of the model!");