Commit a068418
committed
OpWrappers: retain requested type
When we return an Op from the matcher, it is being assigned to a
particular Op Type (e.g. BiFunction). We need to remember this type
(BiFunction) and not whatever type the Op actually is (i.e. not the
net.imagej.ops.math.add.BiFunctionAdder type). This will allow the
returned op to be passed back into the matcher with no error1 parent d1ed79f commit a068418
4 files changed
Lines changed: 699 additions & 3294 deletions
File tree
- src/main/java/org/scijava/ops
- function
- util
- templates/main/java/org/scijava/ops/function
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
| 408 | + | |
408 | 409 | | |
409 | 410 | | |
410 | 411 | | |
| |||
0 commit comments