Skip to content

Commit

Permalink
fix docstring [skip tests]
Browse files Browse the repository at this point in the history
fix docstring [skip tests]

fix docstring [skip tests]
  • Loading branch information
pablosanjose committed Apr 25, 2024
1 parent 234fcf5 commit d9f30f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/docstrings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -713,12 +713,12 @@ julia> h[sites(1), sites(2)]
0.0+0.0im 1.0+0.0im
1.0+0.0im 0.0+0.0im
julia> ph = h |> @hopping!((t; p = 3) -> p*t); ph[region = RP.square(1)]
4×4 OrbitalSliceMatrix{SparseArrays.SparseMatrixCSC{ComplexF64, Int64}}:
0.0+0.0im 0.0+0.0im 0.0+0.0im 3.0+0.0im
0.0+0.0im 0.0+0.0im 3.0+0.0im 0.0+0.0im
0.0+0.0im 3.0+0.0im 0.0+0.0im 0.0+0.0im
3.0+0.0im 0.0+0.0im 0.0+0.0im 0.0+0.0im
julia> ph = h |> @hopping!((t; p = 3) -> p*t); ph[region = RP.square(1)]
4×4 OrbitalSliceMatrix{SparseArrays.SparseMatrixCSC{ComplexF64, Int64}}:
0.0+0.0im 0.0+0.0im 0.0+0.0im 3.0+0.0im
0.0+0.0im 0.0+0.0im 3.0+0.0im 0.0+0.0im
0.0+0.0im 3.0+0.0im 0.0+0.0im 0.0+0.0im
3.0+0.0im 0.0+0.0im 0.0+0.0im 0.0+0.0im
```
# See also
Expand Down

0 comments on commit d9f30f1

Please sign in to comment.