Skip to content

Commit dcb5154

Browse files
authored
Fix spacing for jldoctest
1 parent 4a0350f commit dcb5154

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/gridded/gridded.jl

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,25 +97,25 @@ are unique. Otherwise, a warning will be issued.
9797
```jldoctest; setup = :(using Interpolations)
9898
julia> knots = [-8.0, 0.0, 20.0, 20.0]
9999
4-element Vector{Float64}:
100-
-8.0
101-
0.0
102-
20.0
103-
20.0
100+
-8.0
101+
0.0
102+
20.0
103+
20.0
104104
105105
julia> Interpolations.deduplicate_knots!(knots)
106106
4-element Vector{Float64}:
107-
-8.0
108-
0.0
109-
20.0
110-
20.000000000000004
107+
-8.0
108+
0.0
109+
20.0
110+
20.000000000000004
111111
112112
julia> Interpolations.deduplicate_knots!([1.0, 1.0, 1.0, nextfloat(1.0), nextfloat(1.0)]; move_knots = true)
113113
5-element Vector{Float64}:
114-
1.0
115-
1.0000000000000002
116-
1.0000000000000004
117-
1.0000000000000007
118-
1.0000000000000009
114+
1.0
115+
1.0000000000000002
116+
1.0000000000000004
117+
1.0000000000000007
118+
1.0000000000000009
119119
```
120120
"""
121121
function deduplicate_knots!(knots; move_knots::Bool = false)

0 commit comments

Comments
 (0)