Skip to content

Commit

Permalink
Fix temporary namespace ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonReinhard committed Jun 19, 2024
1 parent 6910f75 commit 96d9384
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/particles/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ using QEDcore
using StaticArrays
using Random

# TODO this can be deleted when QEDbase is released again
# fix ambiguity of the types while both core and base export these
import QEDcore:
AntiFermion, MajoranaFermion, Electron, Positron, Boson, AntiBoson, MajoranaBoson

# TODO this can be deleted when QEDbase is released again
# fix for the broadcast tests
Base.broadcastable(part::QEDbase.AbstractParticleType) = Ref(part)
Expand Down

0 comments on commit 96d9384

Please sign in to comment.