Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Feb 15, 2022
1 parent 37c7557 commit 5a6ba6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/crypto/sbox.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ cdef class SBox(SageObject):
"""
# Handle integer inputs
if isinstance(X, int):
return self._S[<int> X]
return self._S_list[<int> X]
if isinstance(X, Integer):
return self._S_list[<Integer> X]

Expand Down

0 comments on commit 5a6ba6c

Please sign in to comment.