Skip to content

Commit 8ef5bd9

Browse files
Range.min is always skipped (#23)
1 parent 6162cd3 commit 8ef5bd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyhon/parameter/range.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def value(self, value: str | float) -> None:
7171
def values(self) -> List[str]:
7272
result = []
7373
i = self.min
74-
while i < self.max:
75-
i += self.step
74+
while i <= self.max:
7675
result.append(str(i))
76+
i += self.step
7777
return result

0 commit comments

Comments
 (0)