Skip to content

Commit 9fd30c6

Browse files
committed
ENH: make sure nodes returns a Vector, not Rangey type
1 parent 86e8379 commit 9fd30c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lin.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function Base.show(io::IO, p::LinParams)
5757
print(io, m)
5858
end
5959

60-
nodes(p::LinParams) = p.breaks
60+
nodes(p::LinParams) = collect(p.breaks)
6161

6262
function derivative_op(p::LinParams, x, order::Int=1)
6363
breaks, evennum = p.breaks, p.evennum

0 commit comments

Comments
 (0)