aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/ec/formula/graph.py
diff options
context:
space:
mode:
authorJ08nY2024-06-01 14:15:39 +0200
committerJ08nY2024-06-01 14:15:39 +0200
commit5ddfea8c12b2e76fa7aed8eb146c8c385e2abe60 (patch)
tree51edf08a2501553f61c9bbce506b70ac25ec9ef0 /pyecsca/ec/formula/graph.py
parente2bb0abbd98c7666b3604499272d1e40a8d3d7b7 (diff)
downloadpyecsca-5ddfea8c12b2e76fa7aed8eb146c8c385e2abe60.tar.gz
pyecsca-5ddfea8c12b2e76fa7aed8eb146c8c385e2abe60.tar.zst
pyecsca-5ddfea8c12b2e76fa7aed8eb146c8c385e2abe60.zip
Make imports absolute (to allow doctests).
Diffstat (limited to 'pyecsca/ec/formula/graph.py')
-rw-r--r--pyecsca/ec/formula/graph.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pyecsca/ec/formula/graph.py b/pyecsca/ec/formula/graph.py
index c7886bd..d4a79b1 100644
--- a/pyecsca/ec/formula/graph.py
+++ b/pyecsca/ec/formula/graph.py
@@ -1,7 +1,4 @@
"""Provides tools for working with formulas as graphs."""
-from .base import Formula
-from .code import CodeFormula
-from ..op import CodeOp, OpType
import matplotlib.pyplot as plt
import networkx as nx
from ast import parse, Expression
@@ -10,6 +7,10 @@ from copy import deepcopy
from public import public
from abc import ABC, abstractmethod
+from pyecsca.ec.formula.base import Formula
+from pyecsca.ec.formula.code import CodeFormula
+from pyecsca.ec.op import CodeOp, OpType
+
@public
class Node(ABC):