-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
There seem to be a problem with kde_range in univariant.jl: The range that is returned sometimes has the wrong number of points.
Can be easily detected by inserting length(lo:step:hi) == npoints || @show "ERROR", length(lo:step:hi)
before returning.
I think it results from a problem is linspace.
Suggested fix:
return lo + (0:npoints-1)*step instead of lo:step:hi
Metadata
Metadata
Assignees
Labels
No labels