-
Notifications
You must be signed in to change notification settings - Fork 33
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
Vector
convenience functions cause errors on nightly Julia builds
#28
Comments
Looks like this is happening with stable Julia now, FWIW:
|
Removing these convenience functions will break Lines 646 to 647 in b5e9514
To fix that, something like this would work: Npfull = zeros(length(outputs)+2)
Tpfull = zeros(length(outputs)+2)
Npfull[2:end-1] .= [output.Np for output in outputs]
Tpfull[2:end-1] .= [output.Tp for output in outputs] |
True! The PR linked above addresses that. |
@dingraha gotcha! Didn't notice you had made other changes too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to create eg a vector of
Section
structs with nightly builds of Julia, like this:I get an error that appears to be related to the convenience functions used to access individual fields of a
Vector{<:Section}
:CCBlade.jl/src/CCBlade.jl
Line 90 in 50ba0be
If I remove that function, then the error goes away:
I know CCBlade doesn't use Julia nightly builds for testing, but I recently ran into this and thought I'd bring it up. The error doesn't occur with any of the stable Julia builds—I checked 1.9.4 and 1.10.0 today.
The text was updated successfully, but these errors were encountered: