Skip to content

Commit

Permalink
range setup
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Dec 9, 2024
1 parent bdf6f55 commit 7d6e6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NMFkPreprocess.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ function griddata(x::AbstractVector, y::AbstractVector; stepvalue=nothing, nbins
ix, xbins, gxmin, gxmax = NMFk.indicize(x; rev=xrev, nbins=xnbins, minvalue=xminvalue, maxvalue=xmaxvalue, stepvalue=xstepvalue, granulate=granulate, quiet=quiet)
iy, ybins, gymin, gymax = NMFk.indicize(y; rev=yrev, nbins=ynbins, minvalue=yminvalue, maxvalue=ymaxvalue, stepvalue=ystepvalue, granulate=granulate, quiet=quiet)
@info("Number of bins: $(xbins) $(ybins)")
return range(gxmin; stop=gxmax, length=xbins), range(gymin; stop=gymax, length=ybins)
return range(gxmin, gxmax; step=stepvalue), range(gymin, gymax; step=stepvalue)
end

function griddata(x::AbstractVector, y::AbstractVector, z::AbstractVector; kw...)
Expand Down

0 comments on commit 7d6e6ae

Please sign in to comment.