Skip to content

Commit

Permalink
fix the bug due to wp
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhu2017 committed Feb 23, 2024
1 parent 0e013bb commit 9fcb247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxtal/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ def generate_wp_lib(spg_list, composition,
count = 0
for i in range(max_fu, min_fu-1, -1):
letters, _, wp_ids = g.list_wyckoff_combinations(
composition*i, numWp=num_wp, Nmax=100000)
composition*i, numWp=(min_wp, max_wp), Nmax=100000)
for j, wp in enumerate(wp_ids):
wp_dofs = 0
num = 0
Expand Down

0 comments on commit 9fcb247

Please sign in to comment.