-
Notifications
You must be signed in to change notification settings - Fork 67
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
contract_path with optimize=bool
raises
#219
Comments
I suppose the
|
What about contract_path=True, should this be equivalent to "auto"? |
I would agree |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
contract_path
'soptimize
argument is documented asstr, list or bool
, but using bool arguments raises a TypeError:IIUC this is due to https://github.com/dgasmith/opt_einsum/blob/master/opt_einsum/contract.py#L305C1-L307C25:
Granted, this is an edge case and maybe just a documentation issue of not allowing bools in the first place.
The text was updated successfully, but these errors were encountered: