Skip to content

Commit

Permalink
Range.min is always skipped (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
VadymMelnychuk authored Mar 18, 2024
1 parent 6162cd3 commit 8ef5bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyhon/parameter/range.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def value(self, value: str | float) -> None:
def values(self) -> List[str]:
result = []
i = self.min
while i < self.max:
i += self.step
while i <= self.max:
result.append(str(i))
i += self.step
return result

0 comments on commit 8ef5bd9

Please sign in to comment.