Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ private static Optional<ConvertedOpInfo> postprocessIdentity(OpInfo info,
return Optional.empty();
}
// And only applies when the mutable index was "converted" with identity
if (Ops.info(preConverters.get(ioIndex)).names().contains(
"engine.identity"))
var names = Ops.info(preConverters.get(ioIndex)).names();
if (names.contains("engine.identity") || names.contains("engine.wrap"))
{
// In this case, we need neither a postprocessor nor a copier,
// because the mutable output was directly edited.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
import org.scijava.ops.api.*;
import org.scijava.ops.engine.BaseOpHints;
import org.scijava.ops.engine.InfoTreeGenerator;
import org.scijava.ops.engine.matcher.impl.DefaultOpRequest;
import org.scijava.ops.engine.matcher.impl.InfoMatchingOpRequest;
import org.scijava.types.Nil;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
import org.scijava.ops.engine.matcher.OpMatcher;
import org.scijava.ops.engine.matcher.impl.MatchingUtils.TypeVarInfo;
import org.scijava.priority.Priority;
import org.scijava.struct.Member;
import org.scijava.common3.Types;
import org.scijava.types.infer.GenericAssignability;

Expand Down

Large diffs are not rendered by default.

Loading
Loading