-
Notifications
You must be signed in to change notification settings - Fork 5
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
Infinite recursion calling loadmesh with a non AbstractMeshKey #72
Comments
Hi, which version of |
It's calling it here:
|
Ok. It seems that there are two issues here. The typing on |
Is it possible to distinguish at the type level "bad" objects from "good" ones so we could just overload |
It is this fallback method here. This should have a generic type like
|
Yes this should subtype |
If we add the functionality that you suggested James, we should not keep calling this function It would be more Julian methinks to just overload |
But currently |
1 similar comment
But currently |
@quffaro Please add minimal reproducible code that demonstrates this behavior by calling |
Affirmative!
|
This code will produce an error
This occurs because loadmesh will call
subdivide_duals!(loadmesh(s), subdivision)
, and iterate.I imagine there should be some way to eyeball whether this will recurse. I'm willing to assign this to myself.
The text was updated successfully, but these errors were encountered: