Skip to content

Commit 57b79ab

Browse files
Clarified the name of the message argument.
1 parent 7838091 commit 57b79ab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Math-Complex/PMComplex.class.st

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,18 @@ PMComplex >> - anObject [
169169
]
170170

171171
{ #category : #arithmetic }
172-
PMComplex >> / anObject [
172+
PMComplex >> / aNumber [
173173
"Answer the result of dividing receiver by aNumber"
174174
| a b c d newReal newImaginary |
175-
anObject isComplexNumber ifTrue:
175+
aNumber isComplexNumber ifTrue:
176176
[a := self real.
177177
b := self imaginary.
178-
c := anObject real.
179-
d := anObject imaginary.
178+
c := aNumber real.
179+
d := aNumber imaginary.
180180
newReal := ((a * c) + (b * d)) / ((c * c) + (d * d)).
181181
newImaginary := ((b * c) - (a * d)) / ((c * c) + (d * d)).
182182
^ self class real: newReal imaginary: newImaginary].
183-
^ anObject adaptToComplex: self andSend: #/.
183+
^ aNumber adaptToComplex: self andSend: #/.
184184
]
185185

186186
{ #category : #comparing }

0 commit comments

Comments
 (0)