Skip to content

Commit bc048c1

Browse files
committed
Remove similar method
1 parent d7daf09 commit bc048c1

File tree

3 files changed

+1
-41
lines changed

3 files changed

+1
-41
lines changed

src/AlgorithmInterface.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,5 @@ function process(algo::AbstractImageReconstructionAlgorithm, data, params::Vecto
3131
return val
3232
end
3333

34-
export similar
35-
similar(algo::AbstractImageReconstructionAlgorithm, data) = error("$(typeof(algo)) must implement similar")
36-
similar(algo::AbstractImageReconstructionAlgorithm, data, param::AbstractImageReconstructionParameter) = similar(typeof(algo), data, param)
37-
similar(algoT::Type{T}, data, param::AbstractImageReconstructionParameter) where {T<:AbstractImageReconstructionAlgorithm} = deepcopy(param)
38-
3934
export parameter
4035
parameter(algo::AbstractImageReconstructionAlgorithm) = error("$(typeof(algo)) must implement parameter")

src/MiscAlgorithms/MiscAlgorithms.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
include("RuntimeAlgorithms.jl")
2-
include("SimilarAlgorithm.jl")
1+
include("RuntimeAlgorithms.jl")

src/MiscAlgorithms/SimilarAlgorithm.jl

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)