Skip to content

Commit

Permalink
Add Calculation from Action
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Oct 24, 2023
1 parent a259652 commit 931410d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ExpressBase/src/ExpressBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ const QHA = QuasiHarmonicApproximation
"Represent an atomic action for a specific `Calculation` type."
abstract type Action{T<:Calculation} end

Calculation(::Action{T}) where {T} = T()

include("procs_per_job.jl")
include("Files.jl")
include("actions.jl")
Expand Down

0 comments on commit 931410d

Please sign in to comment.