# Problem The `upsert_leaf` method creates a new `MeasureFunc` and, if required, a new leaf node, but then it only adds the new `MeasureFunc` to existing leaf nodes. ## Solution Add the `MeasureFunc` to new leaf nodes as well. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
# Problem The `upsert_leaf` method creates a new `MeasureFunc` and, if required, a new leaf node, but then it only adds the new `MeasureFunc` to existing leaf nodes. ## Solution Add the `MeasureFunc` to new leaf nodes as well. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||