diff options
| author | J08nY | 2024-04-11 14:53:13 +0200 |
|---|---|---|
| committer | J08nY | 2024-04-11 14:53:13 +0200 |
| commit | 4e5cc1f7badc3d1e660c3afd3fa05444d543f26b (patch) | |
| tree | e2720f4bde30d993f6a6edbca25d473e2f82effd /pyecsca | |
| parent | de58fe75e6064f1cfd45f6d3d3d539b6422c247b (diff) | |
| download | pyecsca-4e5cc1f7badc3d1e660c3afd3fa05444d543f26b.tar.gz pyecsca-4e5cc1f7badc3d1e660c3afd3fa05444d543f26b.tar.zst pyecsca-4e5cc1f7badc3d1e660c3afd3fa05444d543f26b.zip | |
Fix None codomain addition in dmap.
Diffstat (limited to 'pyecsca')
| -rw-r--r-- | pyecsca/sca/re/tree.py | 2 |
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) |
