Skip to content
Snippets Groups Projects
Commit b69a9ce5 authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Bug Fix

SqrtParamNode initialize parameters keeps track of depth when setting values
parent f68f992d
Branches
Tags
No related merge requests found
......@@ -260,7 +260,7 @@ void SqrtParamNode::initialize_params(double* params, const int depth) const
}
_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,
-1.0 * _sign_alpha * (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment