From 96b7faf1f1ad94e5e2d2deaffd1b6415a9361045 Mon Sep 17 00:00:00 2001 From: LegrandNico Date: Thu, 26 Oct 2023 12:04:56 +0200 Subject: [PATCH] small fixes --- src/pyhgf/networks.py | 3 +-- src/pyhgf/updates/binary.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pyhgf/networks.py b/src/pyhgf/networks.py index d1717718e..ee3298d78 100644 --- a/src/pyhgf/networks.py +++ b/src/pyhgf/networks.py @@ -68,8 +68,7 @@ def beliefs_propagation( Returns ------- attributes, attributes : - A tuple of parameters structure (carryover and accumulated). - + A tuple of attributes structure (carryover and accumulated). """ branches_idxs, branches, nodes_idxs = update_sequence diff --git a/src/pyhgf/updates/binary.py b/src/pyhgf/updates/binary.py index e22028e22..912a7f757 100644 --- a/src/pyhgf/updates/binary.py +++ b/src/pyhgf/updates/binary.py @@ -15,7 +15,7 @@ def binary_node_prediction_error( - attributes: Dict, time_step: float, node_idx: int, edges: Edges, **args + attributes: Dict, time_step: float, node_idx: int, edges: Edges, value=None ) -> Dict: """Update the value parent(s) of a binary node. @@ -81,7 +81,7 @@ def binary_node_prediction_error( def binary_node_prediction( - attributes: Dict, time_step: float, node_idx: int, edges: Edges, **args + attributes: Dict, time_step: float, node_idx: int, edges: Edges, value=None ) -> Dict: """Update the expected mean and precision of a binary state node.