Skip to content

Commit 3291e56

Browse files
committed
fix GaussWeight docstring
1 parent 1511ba6 commit 3291e56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Spaces/Hermite/Hermite.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ struct GaussWeight{S,T} <: WeightSpace{S,Line{Float64},Float64}
7373
L::T
7474
end
7575

76-
GaussWeight(H::Hermite) = GaussWeight(H,H.L)
77-
GaussWeight() = GaussWeight(Hermite())
78-
7976
"""
8077
`GaussWeight(Hermite(L), L)` is a space spanned by `exp(-Lx²) * H_k(sqrt(L) * x)`
8178
where `H_k(x)`'s are Hermite polynomials.
8279
8380
`GaussWeight()` is equivalent to `GaussWeight(Hermite(), 1.0)` by default.
8481
"""
82+
GaussWeight(H::Hermite) = GaussWeight(H,H.L)
83+
GaussWeight() = GaussWeight(Hermite())
84+
8585
Fun(::typeof(identity), sp::Hermite) = Fun(sp,[0.,0.5])
8686
Fun(::typeof(identity), sp::GaussWeight) = Fun(identity, sp.space)
8787

0 commit comments

Comments
 (0)