Skip to content

Commit

Permalink
Enable jldoctest for base_state (QEDjl-project#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonReinhard committed Jul 11, 2024
1 parent 1f853f4 commit 5b95fb8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/interfaces/particle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ Return the propagator of a particle for a given four-momentum. If `mass` is pass
"""
function propagator end

# TODO: Turn the doctest on again when QEDcore has QEDprocesses functionality
"""
```julia
base_state(
Expand Down Expand Up @@ -174,8 +173,7 @@ mom = SFourMomentum(E, px, py, pz) # initialize the four-momentum of the el
electron_state = base_state(QEDcore.Electron(), Incoming(), mom, SpinUp())
```
TODO: Reenable doctests
```Julia
```jldoctest
julia> using QEDbase; using QEDcore
julia> mass = 1.0; px,py,pz = (0.1, 0.2, 0.3); E = sqrt(px^2 + py^2 + pz^2 + mass^2); mom = SFourMomentum(E, px, py, pz)
Expand Down

0 comments on commit 5b95fb8

Please sign in to comment.