diff options
| author | J08nY | 2020-06-14 13:55:49 +0200 |
|---|---|---|
| committer | J08nY | 2020-06-14 14:05:28 +0200 |
| commit | 925b7824f4c79d795d81b111cc531233651f18b6 (patch) | |
| tree | 762e76aeb5b2dcd95da1e61abdcd27f385116500 /pyecsca/ec/mult.py | |
| parent | 7e51c6546d369ec46a6ae8978147e79f2f0195a3 (diff) | |
| download | pyecsca-925b7824f4c79d795d81b111cc531233651f18b6.tar.gz pyecsca-925b7824f4c79d795d81b111cc531233651f18b6.tar.zst pyecsca-925b7824f4c79d795d81b111cc531233651f18b6.zip | |
Fix type errors and increase code coverage.
Diffstat (limited to 'pyecsca/ec/mult.py')
| -rw-r--r-- | pyecsca/ec/mult.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyecsca/ec/mult.py b/pyecsca/ec/mult.py index 6dfd5cd..a3622f5 100644 --- a/pyecsca/ec/mult.py +++ b/pyecsca/ec/mult.py @@ -35,8 +35,8 @@ class ScalarMultiplier(ABC): of the point at infinity. :param formulas: Formulas this instance will use. """ - requires: ClassVar[Set[Type[Formula]]] - optionals: ClassVar[Set[Type[Formula]]] + requires: ClassVar[Set[Type]] #Type[Formula] but mypy has a false positive + optionals: ClassVar[Set[Type]] #Type[Formula] but mypy has a false positive short_circuit: bool formulas: Mapping[str, Formula] _params: DomainParameters |
