Skip to content

Commit 0267f18

Browse files
committed
Fixes
1 parent 1df1f91 commit 0267f18

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
@@ -26,7 +26,7 @@ function promote_operation_fallback(
2626
end
2727

2828
function promote_operation_fallback(
29-
op::F,
29+
::F,
3030
args::Vararg{Type,N},
3131
) where {F<:Function,N}
3232
return promote_type(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)