Skip to content

Commit c762326

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1755567 commit c762326

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ciphers/hill_cipher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def check_determinant(self) -> None:
145145
ValueError: determinant modular 36 of encryption key(0) is not co prime
146146
w.r.t 36. Try another key.
147147
"""
148-
148+
149149
det = round(np.linalg.det(self.encrypt_key))
150150

151151
if det < 0:
@@ -271,7 +271,7 @@ def make_decrypt_key(self) -> np.ndarray:
271271
ValueError: determinant modular 36 of encryption key(0) is not co prime
272272
w.r.t 36. Try another key.
273273
"""
274-
274+
275275
det = round(np.linalg.det(self.encrypt_key))
276276

277277
if det < 0:

0 commit comments

Comments
 (0)