-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cannot create zero-length ComponentArray #173
Comments
Hm. Yeah, it seems that we should make |
Somewhat related: #116 (comment) |
Thanks for the reply, I am happy to give a go at opening a PR for this, but I would prefer that the open PRs get reviewed first, to minimise potentially duplicated work. |
Not a solution, but it seems possible to create a zero-length array via: ComponentVector(Vector{Float64}(), (Axis(),)) |
I cannot manage to create a zero length
ComponentArray
. Instead I get anArray
back:This seems to be due to this line, that if deleted several things stop working in the package. I wonder what was the rationale behind that line?
I found this to affect type stability.
The text was updated successfully, but these errors were encountered: