Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed (hid?) bug in calculateBondSymmetryNumber().
The function Structure.split() returns a list of structures that result from the splitting. In calculateBondSymmetryNumber(), this function was assumed to return exactly two structures, which it should if things are going normally. However, this behavior is not guaranteed, so a check was added to ensure that exactly two structures are returned from split(). If not, the function returns 1, which is as if it was not called for that bond.
- Loading branch information