Range.min is always skipped (#23)

This commit is contained in:
Vadym 2024-03-18 02:06:46 +02:00 committed by GitHub
parent 6162cd3f98
commit 8ef5bd9889
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class HonParameterRange(HonParameter):
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