File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -239,11 +239,6 @@ PMPolynomial >> reciprocal [
239239 ^ (PMPolynomial coefficients: #(1) ) / self
240240]
241241
242- { #category : #information }
243- PMPolynomial >> rootFindingAlgorithmWith: precision [
244- ^ PMNewtonZeroFinder rootFindingAlgorithmWith: precision
245- ]
246-
247242{ #category : #information }
248243PMPolynomial >> roots [
249244
@@ -254,7 +249,7 @@ PMPolynomial >> roots [
254249PMPolynomial >> roots: aNumber [
255250
256251 | pol roots x rootFinder |
257- rootFinder := self rootFindingAlgorithmWith: aNumber.
252+ rootFinder := PMNewtonZeroFinder rootFindingAlgorithmWith: aNumber.
258253 pol := self class coefficients:
259254 (coefficients reverse collect: [ :each | each asFloat ]).
260255 roots := OrderedCollection new : self degree.
You can’t perform that action at this time.
0 commit comments