Skip to content

Commit 0d5e873

Browse files
We no longer refer to the real class.
1 parent dbe29a3 commit 0d5e873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Math-Complex/PMComplex.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ PMComplex >> / anObject [
179179
d := anObject imaginary.
180180
newReal := ((a * c) + (b * d)) / ((c * c) + (d * d)).
181181
newImaginary := ((b * c) - (a * d)) / ((c * c) + (d * d)).
182-
^ PMComplex real: newReal imaginary: newImaginary].
182+
^ self class real: newReal imaginary: newImaginary].
183183
^ anObject adaptToComplex: self andSend: #/.
184184
]
185185

0 commit comments

Comments
 (0)