From 8e57134d6c7911ed464b501d667bb0b570563860 Mon Sep 17 00:00:00 2001 From: Jutho Haegeman Date: Sun, 30 Sep 2018 01:26:38 +0200 Subject: [PATCH] small bugfix - forgotten undef --- src/indexnotation/ncontree.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexnotation/ncontree.jl b/src/indexnotation/ncontree.jl index 3d348c1f..c633420a 100644 --- a/src/indexnotation/ncontree.jl +++ b/src/indexnotation/ncontree.jl @@ -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