Commit 198af7a 1 parent 13a26d6 commit 198af7a Copy full SHA for 198af7a
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -224,14 +224,15 @@ where
224
224
/// This function gives error if the arrays have different lengths.
225
225
/// This function gives error of original [`PrimitiveArray`] `a` if it is not a mutable
226
226
/// primitive array.
227
- pub fn binary_mut < T , F > (
227
+ pub fn binary_mut < T , U , F > (
228
228
a : PrimitiveArray < T > ,
229
- b : & PrimitiveArray < T > ,
229
+ b : & PrimitiveArray < U > ,
230
230
op : F ,
231
231
) -> Result < Result < PrimitiveArray < T > , ArrowError > , PrimitiveArray < T > >
232
232
where
233
233
T : ArrowPrimitiveType ,
234
- F : Fn ( T :: Native , T :: Native ) -> T :: Native ,
234
+ U : ArrowPrimitiveType ,
235
+ F : Fn ( T :: Native , U :: Native ) -> T :: Native ,
235
236
{
236
237
if a. len ( ) != b. len ( ) {
237
238
return Ok ( Err ( ArrowError :: ComputeError (
You can’t perform that action at this time.
0 commit comments