From d61b0b757fc4aa86d9512d529c76f8db9c40e8fe Mon Sep 17 00:00:00 2001 From: "tqchen@graphlab.com" Date: Mon, 25 Aug 2014 11:35:38 -0700 Subject: [PATCH] chg --- src/gbm/gblinear-inl.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)