Skip to content

Commit e4698ee

Browse files
blegatAayushSabharwal
authored andcommitted
Fixes
1 parent e470c6b commit e4698ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function promote_operation_fallback(
5252
end
5353

5454
function promote_operation_fallback(
55-
op::F,
55+
::F,
5656
args::Vararg{Type,N},
5757
) where {F<:Function,N}
5858
return typeof(op(_instantiate_zero.(args)...))

test/broadcast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ end
3131
@test y == 5
3232
# FIXME This should not allocate but I couldn't figure out where these
3333
# allocations come from.
34-
n = (VERSION >= v"1.11" ? 42 : 30) * sizeof(Int)
34+
n = (VERSION >= v"1.11" ? 14 : 10) * sizeof(Int)
3535
alloc_test(() -> MA.broadcast!!(+, a, b), n)
3636
alloc_test(() -> MA.broadcast!!(+, a, c), 0)
3737
end

0 commit comments

Comments
 (0)