mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(nodes): fix RangeOfSizeInvocation off-by-one error
This commit is contained in:
committed by
Kent Keirsey
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))
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user