Skip to content

Commit 95085c3

Browse files
authored
self.to_int() is really returning ints
1 parent 1b8da54 commit 95085c3

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
@@ -155,8 +155,8 @@ def make_decrypt_key(self):
155155
"""
156156
>>> hill_cipher = HillCipher(numpy.array([[2, 5], [1, 6]]))
157157
>>> hill_cipher.make_decrypt_key()
158-
array([[ 6., 25.],
159-
[ 5., 26.]])
158+
array([[ 6, 25],
159+
[ 5, 26]])
160160
"""
161161
det = round(numpy.linalg.det(self.encrypt_key))
162162

0 commit comments

Comments
 (0)