From 94d37912e370ed58cf53859b27a6b4999f7a8b06 Mon Sep 17 00:00:00 2001 From: BrianGun Date: Tue, 7 Sep 2021 19:53:29 -0700 Subject: [PATCH] Update documentation to use drawcells instead of drawhexcells Fixes #281 updated LatticeBasis call in docs to use new arguments. --- docs/src/repeat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/repeat.md b/docs/src/repeat.md index 35e0440b0..8c3a0d800 100644 --- a/docs/src/repeat.md +++ b/docs/src/repeat.md @@ -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] ```