From 76fa60682f9130a18270e9a6dcff9ab59d77a1b6 Mon Sep 17 00:00:00 2001 From: J08nY Date: Thu, 6 Nov 2025 17:39:53 +0100 Subject: Fix propagation of leaf_callback in tree building. --- pyecsca/sca/re/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyecsca') diff --git a/pyecsca/sca/re/tree.py b/pyecsca/sca/re/tree.py index a45faaa..6d07ba4 100644 --- a/pyecsca/sca/re/tree.py +++ b/pyecsca/sca/re/tree.py @@ -667,7 +667,7 @@ def _build_tree( ) log(pad + f"Split {len(group_cfgs)} via dmap {best_i}.") # And build the tree recursively - child = _build_tree(group_cfgs, maps, response=output, depth=depth + 1, index=i, breadth=groups.ngroups, split=split) + child = _build_tree(group_cfgs, maps, response=output, depth=depth + 1, index=i, breadth=groups.ngroups, split=split, leaf_callback=leaf_callback) child.parent = result return result -- cgit v1.2.3-70-g09d2