From cda2fd9ed00753735508c7a471a5f267fa8da3a2 Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Mon, 2 Dec 2024 13:46:07 +0100 Subject: [PATCH] compute on any object --- src/gridrsp.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gridrsp.jl b/src/gridrsp.jl index a9b8110..95a2c6d 100644 --- a/src/gridrsp.jl +++ b/src/gridrsp.jl @@ -77,7 +77,7 @@ end Operations(ops::O) where O<:Tuple = Operations{O}(ops) Operations(args...) = Operations(args) -function compute(o::Operations, grsp::Grid) +function compute(o::Operation, grsp::Grid) compute(o, GridRSP(g; allocs=o.allocs); θ=o.θ) end function compute(o::Operations, grsp::GridRSP)