mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): fix RangeOfSizeInvocation off-by-one error
This commit is contained in:
parent
b25c1af018
commit
dd16f788ed
@ -57,7 +57,7 @@ class RangeOfSizeInvocation(BaseInvocation):
|
||||
|
||||
def invoke(self, context: InvocationContext) -> IntCollectionOutput:
|
||||
return IntCollectionOutput(
|
||||
collection=list(range(self.start, self.start + self.size + 1, self.step))
|
||||
collection=list(range(self.start, self.start + self.size, self.step))
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user