Skip to content

Commit e72e128

Browse files
author
hernanmd
committed
Remove #isInteger unnecessary test as suggested by hemalvarambhia
1 parent d7a6f11 commit e72e128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Math-Numerical/Integer.extension.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Integer >> findNK [
66
See https://math.stackexchange.com/a/103385/205 for details. "
77

88
| k |
9-
[ self isInteger and: [ self > 1 ] ] assert.
9+
[ self > 1 ] assert.
1010
k := 0.
1111
^ Array streamContents: [ : stream |
1212
[ true ] whileTrue: [

0 commit comments

Comments
 (0)