Skip to content

Commit 6021d82

Browse files
authored
Fix typo (#222)
1 parent aef01b5 commit 6021d82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/polynomial.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ mapcoefficientsnz_to!(output::APL, f::F, p::APL) where {F<:Function} = mapcoeffi
415415
416416
Returns a polynomial with the same monomials as `p` but each coefficient `α` is replaced by `f(α)`.
417417
The function may return zero in which case the term is dropped.
418-
If the function is known to never returns zero for a nonzero input, `nonzero`
418+
If the function is known to never return zero for a nonzero input, `nonzero`
419419
can be set to `true` to get a small speedup.
420420
421421
See also [`mapcoefficients!`](@ref) and [`mapcoefficients_to!`](@ref).
@@ -440,7 +440,7 @@ end
440440
441441
Mutate `p` by replacing each coefficient `α` by `f(α)`.
442442
The function may return zero in which case the term is dropped.
443-
If the function is known to never returns zero for a nonzero input, `nonzero`
443+
If the function is known to never return zero for a nonzero input, `nonzero`
444444
can be set to `true` to get a small speedup.
445445
The function returns `p`, which is identically equal to the second argument.
446446

0 commit comments

Comments
 (0)