Skip to content

Commit fa9e7c5

Browse files
committed
more cleanup
1 parent 9622662 commit fa9e7c5

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/polynomials/multroot.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ function pejorative_root(p, zs::Vector{S}, ls;
209209
if cvg
210210
return zₖs
211211
else
212-
@info ("""
212+
@info """
213213
The multiplicity count may be in error: the initial guess for the roots failed
214214
to converge to a pejorative root.
215-
""")
215+
"""
216216
return(zₖs)
217217
end
218218

src/polynomials/ngcd.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ end
9191
## ---- the work is done in this module
9292

9393
module NGCD
94-
using Polynomials, LinearAlgebra, Random
94+
using Polynomials, LinearAlgebra
9595
import Polynomials: PnPolynomial, constructorof
96+
import Random: rand!
9697

9798
"""
9899
ngcd(p::PnPolynomial{T,X}, q::PnPolynomial{T,X}, [k::Int];
@@ -443,11 +444,6 @@ function initial_uvw(::Val{:iszero}, j, p::P, q::Q, x) where {T,X,
443444
else
444445
rand!(x)
445446
smallest_singular_value!(x, R)
446-
# x .= ones(T, size(R,2))
447-
# ldiv!(R', x)
448-
# x ./= norm(x,2)
449-
# ldiv!(R, x)
450-
# x ./= norm(x)
451447
end
452448

453449
w = P(x[1:n-j+1]) # ordering of S is not interlaced

0 commit comments

Comments
 (0)