You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do not provide special values for weights, everything is fine, but when I specify the weights, the default weights are not removed, but the special values are appended.
Params.yaml
Params:
weights: [5, 6]
This will result in weights == {0.8, 0.2, 5, 6}
The text was updated successfully, but these errors were encountered:
Hi, thanks for creating this issue. This behavior was definitely unintended; not sure how it slipped through the test cases.
The fix is trivial, so I’ve already released it in v3.2.0. Please update.
There seems to be an issue/non-intuitive behavior when defining an optional parameter vector with non-empty default values, e.g., like in
Params.hpp
When I do not provide special values for weights, everything is fine, but when I specify the weights, the default weights are not removed, but the special values are appended.
Params.yaml
This will result in weights == {0.8, 0.2, 5, 6}
The text was updated successfully, but these errors were encountered: