Skip to content

Commit

Permalink
Update operators_sparse.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophHotter authored Aug 22, 2023
1 parent dc7edcb commit cf51bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operators_sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ identityoperator(::Type{T}, b::Basis) where T<:Number = identityoperator(DataOpe
"""
diagonaloperator(b::Basis)
Create a diagonal operator of type [`SparseOperator`](@ref).
Create a diagonal operator of type [`SparseOperator`](@ref).
"""
function diagonaloperator(b::Basis, diag)
@assert 1 <= length(diag) <= length(b)
Expand Down

0 comments on commit cf51bf0

Please sign in to comment.