Skip to content

Commit 6bd3f93

Browse files
authored
Update PSFModels.jl
1 parent 9fdff98 commit 6bd3f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PSFModels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Base.getindex(model::PSFModel, idx::Vararg{Int,2}) = model(reverse(idx))
163163
Broadcast.combine_axes(kern::PSFModel, other) = axes(other)
164164
Broadcast.combine_axes(other, kern::PSFModel) = axes(other)
165165

166-
indices_from_extent(pos, fwhm, maxsize) = indices_from_extent(pos, maxsize * fwhm)
166+
indices_from_extent(pos, fwhm, maxsize) = indices_from_extent(pos, maxsize .* fwhm)
167167

168168
function indices_from_extent(pos, extent)
169169
halfextent = @. extent / 2

0 commit comments

Comments
 (0)