I hope to expand all arrays in a type using something like the following: fields=fieldnames(myType) > for i=1:length(fields) > push!(fields[i], 0.) > end
But I get error saying no method matching push!(::Symbol, ::Float64) What else can I do for my purpose?