Skip to content

Commit b1fbe7f

Browse files
authored
Fix method definition of BroadcastStyle in docs (#39686)
1 parent c48ae61 commit b1fbe7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ array types that have fixed dimensionality requirements.
706706
BroadcastStyle(a::AbstractArrayStyle{Any}, ::DefaultArrayStyle) = a
707707
BroadcastStyle(a::AbstractArrayStyle{N}, ::DefaultArrayStyle{N}) where N = a
708708
BroadcastStyle(a::AbstractArrayStyle{M}, ::DefaultArrayStyle{N}) where {M,N} =
709-
typeof(a)(_max(Val(M),Val(N)))
709+
typeof(a)(Val(max(M, N)))
710710
```
711711

712712
You do not need to write binary `BroadcastStyle`

0 commit comments

Comments
 (0)