File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export_imaging_schema(Imaging im, struct ArrowSchema *schema) {
98
98
}
99
99
100
100
/* for now, single block images */
101
- if (!( im -> blocks_count == 0 || im -> blocks_count == 1 ) ) {
101
+ if (im -> blocks_count > 1 ) {
102
102
return IMAGING_ARROW_MEMORY_LAYOUT ;
103
103
}
104
104
@@ -157,7 +157,7 @@ export_single_channel_array(Imaging im, struct ArrowArray *array) {
157
157
int length = im -> xsize * im -> ysize ;
158
158
159
159
/* for now, single block images */
160
- if (!( im -> blocks_count == 0 || im -> blocks_count == 1 ) ) {
160
+ if (im -> blocks_count > 1 ) {
161
161
return IMAGING_ARROW_MEMORY_LAYOUT ;
162
162
}
163
163
@@ -200,7 +200,7 @@ export_fixed_pixel_array(Imaging im, struct ArrowArray *array) {
200
200
int length = im -> xsize * im -> ysize ;
201
201
202
202
/* for now, single block images */
203
- if (!( im -> blocks_count == 0 || im -> blocks_count == 1 ) ) {
203
+ if (im -> blocks_count > 1 ) {
204
204
return IMAGING_ARROW_MEMORY_LAYOUT ;
205
205
}
206
206
You can’t perform that action at this time.
0 commit comments