We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The line
success, r, t = q.solve(a < b, return_values=[i])
in querying/README.md contains an error. TypeError: solve() missing 1 required positional argument: 'args'
It would make sense changing the example to
import dl2lib as dl2 import dl2lib.query as q from configargparse import ArgumentParser parser = ArgumentParser(description='DL2 Querying') parser = dl2.add_default_parser_args(parser, query=True) args = parser.parse_args() # additionaly arguments such as timeout etc. NN = q.Model(myPytrochModel) i = q.Variable('i', (10,)) a = i[0] + i[3] b = NN(i[4]) success, r, t = q.solve(a < b, return_values=[I], args=args)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The line
in querying/README.md contains an error.
TypeError: solve() missing 1 required positional argument: 'args'
It would make sense changing the example to
The text was updated successfully, but these errors were encountered: