-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom solver __call__ must have default arguments #1358
Comments
You might be required to specify the complete argument list. The So far the theory ... actually the solvers use a default of It seems like a bad idea to assume that The other half is the |
Though in practice this probably wasn't a problem because the builder always passes the |
Minimal example:
I'm assuming that it's expecting the signature
def __call__(self, A, Y, rng=None, E=None)
which has default arguments. My case doesn't have any since I delegate the__call__
to a sub-solver.The text was updated successfully, but these errors were encountered: