diff options
| author | J08nY | 2024-06-04 16:59:46 +0200 |
|---|---|---|
| committer | J08nY | 2024-06-04 16:59:46 +0200 |
| commit | 4f04530c9136c50523974cf1b8e6e333e6a5982e (patch) | |
| tree | c8d1adb09ff6745c56854f78c76156843ea46bd0 | |
| parent | c399a0373a111bd88ccd423f65b701a8e209f559 (diff) | |
| download | pyecsca-notebook-4f04530c9136c50523974cf1b8e6e333e6a5982e.tar.gz pyecsca-notebook-4f04530c9136c50523974cf1b8e6e333e6a5982e.tar.zst pyecsca-notebook-4f04530c9136c50523974cf1b8e6e333e6a5982e.zip | |
Fix tree API use.
| -rw-r--r-- | re/rpa.ipynb | 4 | ||||
| -rw-r--r-- | re/zvp.ipynb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/re/rpa.ipynb b/re/rpa.ipynb index 6690740..3411ca2 100644 --- a/re/rpa.ipynb +++ b/re/rpa.ipynb @@ -629,7 +629,7 @@ " leak = lm(intermediate.value)\n", " trace.append(leak)\n", "\n", - " ctx.actions.walk(callback)\n", + " ctx.actions[0].walk(callback)\n", " return Trace(np.array(trace))\n", "\n", "def simulated_rpa_trace(mult, scalar, affine_point, noise, num_target=10, num_random=10):\n", @@ -818,7 +818,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.4" + "version": "3.11.8" } }, "nbformat": 4, diff --git a/re/zvp.ipynb b/re/zvp.ipynb index e5e4b3d..c406a28 100644 --- a/re/zvp.ipynb +++ b/re/zvp.ipynb @@ -630,7 +630,7 @@ " if isinstance(action, FormulaAction):\n", " for intermediate in action.op_results:\n", " zeros.append(int(intermediate.value) == 0)\n", - " ctx.actions.walk(callback)\n", + " ctx.actions[0].walk(callback)\n", " count = sum(zeros)\n", " counts[i, j] = count\n", " positions[i, j] = tuple(zeros) \n", @@ -1465,7 +1465,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.4" + "version": "3.11.8" } }, "nbformat": 4, |
