Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
lschoe committed Jan 5, 2025
1 parent 24f4329 commit 8ebc2b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ By running `python -m mpyc` instead you even get this REPL with the MPyC runtime
The file `gen.bat` shows how to generate fresh key material for SSL. To generate SSL key material of your own, first run
`pip install cryptography`.

Copyright © 2018-2024 Berry Schoenmakers
Copyright © 2018-2025 Berry Schoenmakers
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# -- Project information -----------------------------------------------------

project = 'MPyC'
copyright = '2018 - 2024, Berry Schoenmakers'
copyright = '2018 - 2025, Berry Schoenmakers'
author = 'Berry Schoenmakers'

# The short X.Y version
Expand Down
3 changes: 3 additions & 0 deletions mpyc/gfpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ def _mul(cls, a, b):

@classmethod
def _lshift(cls, a, n):
if not a:
return []

return [0] * n + a

@classmethod
Expand Down

0 comments on commit 8ebc2b0

Please sign in to comment.