-
Consider this code
Running this will produce an error like this
I expect this is because I'm trying to dispatch a sublattice. If that's the case, we should have a check in the code that raises an informative error so users don't see the AttributeError. Loosely related to #760 |
Beta Was this translation helpful? Give feedback.
Answered by
FyzHsn
Jul 6, 2022
Replies: 1 comment 2 replies
-
That's a really good point, we should probably return an error saying, "Only lattices can be dispatched" |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
scottwn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's a really good point, we should probably return an error saying, "Only lattices can be dispatched"