Skip to content

Commit 91e14e3

Browse files
style: corrected a Smalltalk code critique.
1 parent 218a2e5 commit 91e14e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Math-Numerical/PMNewtonZeroFinder.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ PMNewtonZeroFinder class >> function: aBlock1 derivative: aBlock2 [
4343
PMNewtonZeroFinder class >> with: precision [
4444

4545
| rootFinder |
46-
rootFinder := PMNewtonZeroFinder new.
46+
rootFinder := self new.
4747
rootFinder desiredPrecision: precision.
4848
^ rootFinder
4949
]

0 commit comments

Comments
 (0)