Skip to content

Commit 30cf93a

Browse files
committed
Fix too narrow is a RecoPlan check in setAll!
1 parent ce5fa64 commit 30cf93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RecoPlans/RecoPlans.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function setAll!(plan::RecoPlan{T}, name::Symbol, x) where {T<:AbstractImageReco
137137
# Filter out nested plans
138138
nestedPlans = filter(entry -> begin
139139
val = Observables.to_value(last(entry))
140-
return isa(val, RecoPlan) || isa(val, AbstractArray{<:RecoPlan})
140+
return isa(val, AbstractRecoPlan) || isa(val, AbstractArray{<:AbstractRecoPlan})
141141
end, fields)
142142

143143
# Recursively call setAll! on nested plans

0 commit comments

Comments
 (0)