Skip to content

Commit

Permalink
fix error with dirichlet nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico committed Jan 14, 2025
1 parent 6f05c90 commit 28b51da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyhgf/model/add_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def add_ef_state(
n_nodes=n_nodes,
node_type=node_type,
node_parameters=node_parameters,
value_children=(None, None),
value_children=value_children,
)

# loop over the indexes of nodes created in the previous step
Expand Down
1 change: 1 addition & 0 deletions pyhgf/model/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ def add_nodes(
n_nodes=n_nodes,
node_parameters=node_parameters,
additional_parameters=additional_parameters,
value_children=value_children,
)
elif kind == "categorical-state":
self = add_categorical_state(
Expand Down

0 comments on commit 28b51da

Please sign in to comment.