Skip to content

Commit f577221

Browse files
authored
Fix README cf. #19
1 parent 8e1e31a commit f577221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ D, sgnum = 2, 10 # dimension and plane group (p4, with Z₂ indicator group)
5858
brs = bandreps(sgnum, D) # elementary band representations
5959
lgs = littlegroups(sgnum, Val(D)) # little groups
6060
filter!(((klab, _),) -> klab klabels(brs), lgs) # restrict to k-points in `brs`
61-
map!(primitivize, values(lgs)) # convert to primitive setting
61+
map!(lg -> primitivize(lg, false), values(lgs)) # convert to primitive setting (without reducing translations)
6262
lgirsd = pick_lgirreps(lgs; timereversal=true) # small irreps associated with `lgs`
6363
```
6464

@@ -160,7 +160,7 @@ sgnum = 81 # P-4 (Z₂×Z₂ symmetry ind
160160
brs = bandreps(sgnum) # elementary band representations
161161
lgs = littlegroups(sgnum) # little groups
162162
filter!(((klab, _),) -> klab klabels(brs), lgs) # restrict to k-points in `brs`
163-
map!(primitivize, values(lgs)) # convert to primitive setting
163+
map!(lg -> primitivize(lg, false), values(lgs)) # convert to primitive setting (without reducing translations)
164164
lgirsd = pick_lgirreps(lgs; timereversal=true) # small irreps associated with `lgs`
165165

166166
# --- compute band symmetry data ---

0 commit comments

Comments
 (0)