Skip to content

Commit b6b0a7a

Browse files
authored
Update Space docstrings to not show OneElement explicitly (#644)
1 parent 2d8e1dc commit b6b0a7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunBase"
22
uuid = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3-
version = "0.9.26"
3+
version = "0.9.27"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

src/Space.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,15 +707,15 @@ basis function.
707707
708708
# Examples
709709
```jldoctest
710-
julia> Chebyshev()(2)
711-
Fun(Chebyshev(), [0.0, 0.0, 1.0])
710+
julia> Chebyshev()(2) == Fun(Chebyshev(), [0, 0, 1])
711+
true
712712
```
713713
"""
714714
(s::Space)(n::Integer) = basisfunction(s, n+1)
715715
"""
716716
(s::Space)(n::Integer, points...)
717717
718-
Evaluate `s(n)(points...)`
718+
Evaluate `Fun(s, [zeros(n); 1])(points...)` efficiently without allocating the vector of coefficients.
719719
720720
# Examples
721721
```jldoctest

0 commit comments

Comments
 (0)