Skip to content

Commit

Permalink
fix cipher
Browse files Browse the repository at this point in the history
Signed-off-by: weiwee <wbwmat@gmail.com>
  • Loading branch information
sagewe committed Jul 11, 2023
1 parent 05fd550 commit 4b66762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fate/arch/context/_cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ def __init__(self, kind) -> None:
def keygen(self, **kwargs):
from fate.arch.tensor import phe_keygen

return phe_keygen(self.device, **kwargs)
return phe_keygen(self.kind, **kwargs)

0 comments on commit 4b66762

Please sign in to comment.