Skip to content

Commit

Permalink
charged species argument types
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Coxe committed Jan 6, 2025
1 parent 518fd76 commit 46391d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Species

Species() = Species("Null", 0.0u"e", 0.0u"MeV/c^2", 0.0u"h_bar", 0.0u"J/T", 0, Kind.Null)

function Species(name::String, charge::Int=0, iso::Int=-1)
function Species(name::String; charge::Int=0, iso::Int=-1)


anti = r"Anti\-|anti\-"
Expand Down

0 comments on commit 46391d5

Please sign in to comment.