Skip to content

Commit 29782cf

Browse files
Treiblesschorlegselzer
authored andcommitted
Fix small bugs
1 parent 674220f commit 29782cf

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/java/org/scijava/ops/transform/OpTransformationInfo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public String toString() {
6565
s.append("\n\tWith:\t");
6666
s.append(transformIter.next().getClass().getName());
6767
s.append("\n\n");
68+
i++;
6869
}
6970
return s.toString();
7071
}

src/main/java/org/scijava/ops/transform/impl/LiftFunctionToIterableTransformer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public OpRef getFromTransformTo(OpRef toRef) {
3737
// need to be requested first and are thus at the beginning of the list.
3838
// From the functional type we know how many there must be.
3939
Type[] args = toRef.getArgs();
40-
boolean argsChanged = TypeModUtils.unliftTypes(args, Iterable.class, 0);
40+
boolean argsChanged = TypeModUtils.unliftTypes(args, Iterable.class);
4141
Type[] outs = toRef.getOutTypes();
42-
boolean outsChanged = TypeModUtils.unliftTypes(outs, Iterable.class, 0);
42+
boolean outsChanged = TypeModUtils.unliftTypes(outs, Iterable.class);
4343

4444
if (typesChanged && argsChanged && outsChanged) {
4545
return OpRef.fromTypes(toRef.getName(), refTypes, outs, args);

0 commit comments

Comments
 (0)