Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning on bounds w.r.t. symmetry #38

Open
tessavdheiden opened this issue Apr 25, 2023 · 0 comments
Open

Warning on bounds w.r.t. symmetry #38

tessavdheiden opened this issue Apr 25, 2023 · 0 comments

Comments

@tessavdheiden
Copy link

Hi,

Here you are using:

if (self.bounds[symmetry[i]] is not
        self.bounds[symmetry[j]]):

The line might be changed into:

if (not np.array_equal(self.bounds[symmetry[i]], self.bounds[symmetry[j]])):

This is because the tuples are changed into numpy arrays here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant