diff options
| author | J08nY | 2024-07-11 17:26:49 +0200 |
|---|---|---|
| committer | J08nY | 2024-07-11 17:26:49 +0200 |
| commit | 3a97444b54ce3c67661868f19962af2895fa0ee8 (patch) | |
| tree | 45b93dd2da4db072141263d69db530860025abff | |
| parent | 63024fd9395f2e6a5712226773f012091ea85edb (diff) | |
| download | pyecsca-3a97444b54ce3c67661868f19962af2895fa0ee8.tar.gz pyecsca-3a97444b54ce3c67661868f19962af2895fa0ee8.tar.zst pyecsca-3a97444b54ce3c67661868f19962af2895fa0ee8.zip | |
Fix codestyle.
| -rw-r--r-- | pyecsca/ec/mod.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/ec/mod.py b/pyecsca/ec/mod.py index 8453ed3..18c28d4 100644 --- a/pyecsca/ec/mod.py +++ b/pyecsca/ec/mod.py @@ -725,7 +725,7 @@ if has_flint: @lru_cache def _fmpz_ctx(n): - if type(n) == flint.fmpz_mod_ctx: + if type(n) is flint.fmpz_mod_ctx: return n return flint.fmpz_mod_ctx(n) |
