Mercurial > repos > public > sbplib_julia
changeset 672:59a81254fefc feature/stencil_convenience
Formatting
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 07 Feb 2021 21:15:48 +0100 |
parents | e14627e79a54 |
children | e5e935c95471 |
files | src/SbpOperators/stencil.jl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/SbpOperators/stencil.jl Sat Feb 06 21:42:57 2021 +0100 +++ b/src/SbpOperators/stencil.jl Sun Feb 07 21:15:48 2021 +0100 @@ -22,7 +22,6 @@ return Stencil(range, weights) end - function CenteredStencil(weights::Vararg) if iseven(length(weights)) throw(ArgumentError("a centered stencil must have an odd number of weights.")) @@ -33,6 +32,7 @@ return Stencil((-r, r), weights) end + """ scale(s::Stencil, a)