Skip to content

Commit

Permalink
add missing docs reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsch committed Jan 21, 2025
1 parent 58cdfc6 commit f0a3436
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/src/hamiltonians.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ HoneycombLattice
HexagonalLattice
Hamiltonians.Directions
Hamiltonians.Displacements
Hamiltonians.neighbor_site
Hamiltonians.periodic_dimensions
Hamiltonians.num_dimensions
Hamiltonians.periodic_dimensions
Hamiltonians.num_neighbors
Hamiltonians.neighbor_site
```

## Index
Expand Down
1 change: 1 addition & 0 deletions test/Hamiltonians.jl
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ using Rimu.Hamiltonians: Directions, Displacements
@test length(geom) == 20
@test Rimu.Hamiltonians.periodic_dimensions(geom) == (true, false)
@test eval(Meta.parse(repr(geom))) == geom
@test num_neighbors(geom) == 6
end
end

Expand Down

0 comments on commit f0a3436

Please sign in to comment.