diff --git a/pyhon/parameter/range.py b/pyhon/parameter/range.py index fa00de0..786e553 100644 --- a/pyhon/parameter/range.py +++ b/pyhon/parameter/range.py @@ -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