Skip to content

Commit fda7486

Browse files
mcabbottjishnub
authored andcommitted
Add compat notice for diagview (#1355)
This function didn't exist in Julia 1.11 There is a note in NEWS, here: https://github.com/JuliaLang/julia/blob/master/HISTORY.md#linearalgebra Added in JuliaLang/julia#56175 (cherry picked from commit 2cb1e98)
1 parent 380f066 commit fda7486

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dense.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,9 @@ Return a view into the `k`th diagonal of the matrix `M`.
297297
298298
See also [`diag`](@ref), [`diagind`](@ref).
299299
300+
!!! compat "Julia 1.12"
301+
This function requires Julia 1.12 or later.
302+
300303
# Examples
301304
```jldoctest
302305
julia> A = [1 2 3; 4 5 6; 7 8 9]

0 commit comments

Comments
 (0)