diff --git a/src/gbm/gblinear-inl.hpp b/src/gbm/gblinear-inl.hpp index e77edf884..4f9bd0707 100644 --- a/src/gbm/gblinear-inl.hpp +++ b/src/gbm/gblinear-inl.hpp @@ -60,7 +60,8 @@ class GBLinear : public IGradBooster { } } // remove bias effect - bst_float dw = static_cast(param.learning_rate * param.CalcDeltaBias(sum_grad, sum_hess, model.bias()[gid])); + bst_float dw = static_cast( + param.learning_rate * param.CalcDeltaBias(sum_grad, sum_hess, model.bias()[gid])); model.bias()[gid] += dw; // update grad value #pragma omp parallel for schedule(static)