Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarros committed Nov 3, 2024
1 parent a4b346c commit 9463d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symmetry/Crystal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ function crystal_from_spacegroup(latvecs::Mat3, positions::Vector{Vec3}, types::
wyckoffs = find_wyckoff_for_position.(Ref(sg), positions; symprec)
orbits = crystallographic_orbits_distinct(sg.symops, positions; symprec, wyckoffs)

# Inferred orbits must match known multiplicities of the Wyckoffs
# Symmetry-propagated orbits must match known multiplicities of the Wyckoffs
foreach(orbits, wyckoffs) do orbit, wyckoff
@assert wyckoff.multiplicity length(orbit) / abs(det(sg.setting.R))
end
Expand Down

0 comments on commit 9463d0d

Please sign in to comment.