Skip to content

Commit

Permalink
small bugfix - forgotten undef
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Sep 29, 2018
1 parent 02b0a02 commit 8e57134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/indexnotation/ncontree.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function isnconstyle(network::Vector)
end

function ncontree(network::Vector)
contractionindices = Vector{Vector{Int}}(length(network))
contractionindices = Vector{Vector{Int}}(undef, length(network))
for k = 1:length(network)
indices = network[k]
# trace indices have already been removed, remove open indices by filtering on positive values
Expand Down

0 comments on commit 8e57134

Please sign in to comment.