Commit f478bbf2 authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Bug Fix

Log initialize paramters now working properly
parent 613a9574
......@@ -275,8 +275,7 @@ void LogParamNode::initialize_params(double* params, const int depth) const
return;
}
_feats[0]->initialize_params(params + 2, depth + 1);
val_ptr = _feats[0]->value_ptr(params + 2);
val_ptr = _feats[0]->value_ptr(params + 2, -1, true, depth + 1);
params[1] = std::max(
0.0,
1e-10 - 1.0 * _sign_alpha * (
......
Supports Markdown
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