Commit 79edd9a6 authored by Guolin Ke's avatar Guolin Ke
Browse files

fix a warning

parent f8cf0d2f
......@@ -274,7 +274,7 @@ public:
inline static const char* Name() {
return "gamma-deviance";
}
inline static double AverageLoss(double sum_loss, double sum_weights) {
inline static double AverageLoss(double sum_loss, double) {
return sum_loss * 2;
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment