diff --git a/Project.toml b/Project.toml index d87cee2..a361401 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "QEDFeynmanDiagrams" uuid = "3232ad24-8ec1-4588-843e-e2ed2eae1ff3" -version = "0.1.0" authors = ["AntonReinhard ", "Uwe Hernandez Acosta "] +version = "0.1.0" [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" diff --git a/src/computable_dags/generation.jl b/src/computable_dags/generation.jl index 3c26fab..9806354 100644 --- a/src/computable_dags/generation.jl +++ b/src/computable_dags/generation.jl @@ -374,8 +374,8 @@ function generate_DAG(proc::PROC) where {PROC<:AbstractProcessDefinition} SPECIFIC_VP = VirtualParticle{PROC,NTuple{I,Bool},NTuple{O,Bool}} particles::Vector{SPECIFIC_VP} = virtual_particles(proc) # virtual particles that will be input to propagator tasks - # TODO apparently this sort is deprecated, change it - pairs = sort(particle_pairs(particles)) # pairs to generate the pair tasks + pairs = OrderedDict(particle_pairs(particles)) # pairs to generate the pair tasks + sort!(pairs) triples = sort(total_particle_triples(particles)) # triples to generate the triple tasks graph = DAG()