aboutsummaryrefslogtreecommitdiff
path: root/pyecsca/sca/re/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/sca/re/tree.py')
-rw-r--r--pyecsca/sca/re/tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/sca/re/tree.py b/pyecsca/sca/re/tree.py
index e73a00a..8a05987 100644
--- a/pyecsca/sca/re/tree.py
+++ b/pyecsca/sca/re/tree.py
@@ -133,7 +133,7 @@ class Map:
has_na = False
for io_map in mapping.values():
new = set(io_map.keys())
- if new != inputs:
+ if inputs and new != inputs:
# Map of some cfg doesn't have some inputs, we will fill in None.
has_na = True
inputs.update(new)