aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJ08nY2024-07-11 17:26:49 +0200
committerJ08nY2024-07-11 17:26:49 +0200
commit3a97444b54ce3c67661868f19962af2895fa0ee8 (patch)
tree45b93dd2da4db072141263d69db530860025abff
parent63024fd9395f2e6a5712226773f012091ea85edb (diff)
downloadpyecsca-3a97444b54ce3c67661868f19962af2895fa0ee8.tar.gz
pyecsca-3a97444b54ce3c67661868f19962af2895fa0ee8.tar.zst
pyecsca-3a97444b54ce3c67661868f19962af2895fa0ee8.zip
Fix codestyle.
-rw-r--r--pyecsca/ec/mod.py2
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)