Skip to content

Conversation

@Warggr
Copy link

@Warggr Warggr commented Nov 21, 2025

This fixes #1 .
The previous code used Numpy arrays as default values in dataclasses. However Numpy arrays are mutable, and using mutable default values is not allowed (see here for a rationale). Instead, the syntax = field(default_factory=lambda: ...) must be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MPCParams can't be imported

1 participant