Skip to content
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

For Sheaf.FuseAssignment(), assignments can only be numpy vectors #33

Open
kb1dds opened this issue Apr 13, 2024 · 0 comments
Open

For Sheaf.FuseAssignment(), assignments can only be numpy vectors #33

kb1dds opened this issue Apr 13, 2024 · 0 comments

Comments

@kb1dds
Copy link
Owner

kb1dds commented Apr 13, 2024

Arrays that are numpy.ndarrays are fine elsewhere, but when you run Sheaf.FuseAssignment() with the default optimizer, it crashes. The default optimizer's wrapper should probably resolve this internally by flattening all arrays into vectors (and rebuilding restriction maps accordingly) before passing to the optimizer.

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

No branches or pull requests

1 participant