[mlpack-git] master: Fix -Wunused. (d2ffa5d)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Tue Dec 22 18:34:49 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/eb41f4bc27b484c347acc006255104e2f8cc4eef...977afbec0648056124dcb206e0bf972a161d9b51
>---------------------------------------------------------------
commit d2ffa5dbc2186f3ff91185ff0c478dd2c3b79024
Author: ryan <ryan at ratml.org>
Date: Tue Dec 22 18:24:52 2015 -0500
Fix -Wunused.
>---------------------------------------------------------------
d2ffa5dbc2186f3ff91185ff0c478dd2c3b79024
src/mlpack/methods/fastmks/fastmks_model_impl.hpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mlpack/methods/fastmks/fastmks_model_impl.hpp b/src/mlpack/methods/fastmks/fastmks_model_impl.hpp
index b9c02e5..00534c7 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<KernelType>& f,
//! This is only called when something goes wrong.
template<typename KernelType,
typename FastMKSType>
-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!");
More information about the mlpack-git
mailing list