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:
|
def invoke(self, context: InvocationContext) -> IntCollectionOutput:
|
||||||
return 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…
x
Reference in New Issue
Block a user