Skip to content
Snippets Groups Projects
Commit 8eaa8ef9 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

WRG: Remove warning for svm library: unused parameter in function

parent 406efe1d
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ public:
otbSetValueMacro(Double,double);
*/
virtual double operator()(const svm_node *x, const svm_node *y, const svm_parameter& param)const
virtual double operator()(const svm_node * /*x*/, const svm_node * /*y*/, const svm_parameter& /*param*/)const
{
itkGenericExceptionMacro(<<"Kernel functor not definied (Null)");
return static_cast<double>(0.);
......@@ -213,7 +213,7 @@ public:
// index is the current value
// isAtEnd to indicate that it's the last possible derivation
// baseValue is the constant of the formula
virtual double derivative(const svm_node *x, const svm_node *y, const svm_parameter& param, int degree, int index, bool isAtEnd, double constValue)const
virtual double derivative(const svm_node * /*x*/, const svm_node */*y*/, const svm_parameter& /*param*/, int /*degree*/, int /*index*/, bool /*isAtEnd*/, double /*constValue*/)const
{
itkGenericExceptionMacro(<<"derivative method not definied (Null)");
return 0.;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment