Skip to content

Commit d1b27a1

Browse files
authored
Merge pull request #84 from thchr/patch-1
Fix type-instability in `lattice`-field of `Cell`
2 parents 9ec8ed5 + dbc1db1 commit d1b27a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The collinear polarizations `magmoms` only work with `get_symmetry` and are give
1717
as a list of ``N`` floating point values.
1818
"""
1919
struct Cell{N,L,P,T,M}
20-
lattice::MMatrix{3,3,L}
20+
lattice::MMatrix{3,3,L,9}
2121
positions::MMatrix{3,N,P}
2222
types::MVector{N,T}
2323
magmoms::MVector{N,M}

0 commit comments

Comments
 (0)