Skip to content

Commit

Permalink
Remove deprecated use of sort() (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonReinhard authored Nov 1, 2024
1 parent 8b77e80 commit 54e343e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "QEDFeynmanDiagrams"
uuid = "3232ad24-8ec1-4588-843e-e2ed2eae1ff3"
version = "0.1.0"
authors = ["AntonReinhard <[email protected]>", "Uwe Hernandez Acosta <[email protected]>"]
version = "0.1.0"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Expand Down
4 changes: 2 additions & 2 deletions src/computable_dags/generation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 54e343e

Please sign in to comment.