Skip to content

Commit f80404b

Browse files
committed
fix Vector ++ Image
1 parent 77bb4a9 commit f80404b

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

TODO

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
- test_image.ws fails with:
2-
3-
error in binary ++
4-
left = 50
5-
right = Image <604x604 float, 2 bands, multiband 0x580a32188220>
6-
called from "Test_images_item.Colour_atlas_item.action._result.blocks''"
7-
8-
because we no longer allow non-class on the left for ++ overloads
9-
10-
need a Vector on the left I guess
11-
12-
131
- nicholas's bug report
142

153
- lcomps leave stray unreffed symbols in "list unresolved"

share/nip4/start/_types.def

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,7 @@ Vector value = class
272272
is_Vector x &&
273273
len value == len x.value &&
274274
op.type == Operator_type.COMPOUND_REWRAP],
275-
[x.Image (vec op'.op_name x.value value),
276-
is_Image x],
275+
// (is_Image x) is left for the Image class to handle
277276
[vec op'.op_name x value,
278277
is_image x],
279278
[op.fn this.value x,

0 commit comments

Comments
 (0)