Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Update documentation to use drawcells instead of drawhexcells
Browse files Browse the repository at this point in the history
Fixes #281

updated LatticeBasis call in docs to use new arguments.
  • Loading branch information
BrianGun committed Sep 8, 2021
1 parent be4de95 commit 94d3791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/repeat.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tilevertices(a::S) where{S<:Basis}
A lattice is described by a set of lattice vectors eᵢ which are stored in a [`Basis`](@ref sources) object. You can create bases in any dimension. Points in the lattice are indexed by integer coordinates. These lattice coordinates can be converted to Cartesian coordinates by indexing the LatticeBasis object.
``` @example example
using OpticSim, OpticSim.Repeat
a = LatticeBasis([1.0,5.0],[0.0,1.0])
a = LatticeBasis((1.0,5.0),(0.0,1.0))
a[3,3]
```

Expand Down

0 comments on commit 94d3791

Please sign in to comment.