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

error when setting initialtemperature in creation of Dynamics object #5

Closed
noambernstein opened this issue Jun 5, 2015 · 2 comments

Comments

@noambernstein
Copy link

Traceback (most recent call last):
File "run-model-test.py", line 42, in
import test # import and run the current test
File "../tests/liquid/test.py", line 32, in
dyn_heat = quippy.Dynamics(bulk, 0.5*ase.units.fs, initialtemperature=5000.0, trajectory=None)
File "/usr/local/quip/2015-06-03/mkl/lib64/python/quippy/dynamicalsystem.py", line 186, in init
if not all(abs(self._ds.atoms.velo) < 1e-3):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Removing the initialtemperature specification allows this statement to work fine.

@jameskermode
Copy link
Member

Should be fixed in commit 06d46a9 to public branch

@jameskermode
Copy link
Member

Closing as now resolved.

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

2 participants