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

AdsorptionSites incompatible with newest numpy version #105

Open
tiagojoaog opened this issue Sep 17, 2023 · 0 comments
Open

AdsorptionSites incompatible with newest numpy version #105

tiagojoaog opened this issue Sep 17, 2023 · 0 comments

Comments

@tiagojoaog
Copy link

tiagojoaog commented Sep 17, 2023

Creating np.array() from inhomogeneous lists is no longer allowed. "dtype=object" has to be explicitly stated.
Examples where the issue exists:
-catkit.gen.adsorption lines 60-61, 94, 876-877

fix: self.r1_topology = np.array(self.r1_topology) --> self.r1_topology = np.array(self.r1_topology, dtype=object)

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