From 931410d3cb178afe2aeb95b6572f2255a2f2bcaa Mon Sep 17 00:00:00 2001 From: singularitti Date: Mon, 23 Oct 2023 22:02:40 -0400 Subject: [PATCH] Add `Calculation` from `Action` --- ExpressBase/src/ExpressBase.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ExpressBase/src/ExpressBase.jl b/ExpressBase/src/ExpressBase.jl index b5268c56..9287679e 100644 --- a/ExpressBase/src/ExpressBase.jl +++ b/ExpressBase/src/ExpressBase.jl @@ -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")