Skip to content

Commit

Permalink
Update iradon.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
roflmaostc authored Dec 12, 2023
1 parent 6f13f96 commit 93cfc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iradon.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end
# handle 2D
iradon(sinogram::AbstractArray{T, 2}, angles::AbstractArray{T2, 1}, μ=nothing;
backend=KernelAbstractions.get_backend(sinogram)) where {T, T2} =
view(iradon(reshape(sinogram, (size(sinogram)..., 1)), angles, μ; backend), :, :, 1)
view(iradon(reshape(sinogram, (size(sinogram)..., 1)), T.(angles), μ; backend), :, :, 1)

iradon(sinogram::AbstractArray{T, 3}, angles::AbstractArray{T2, 1}, μ=nothing;
backend=KernelAbstractions.get_backend(sinogram)) where {T, T2} =
Expand Down

0 comments on commit 93cfc39

Please sign in to comment.