Commit 70eab38f authored by Ignacio Pickering's avatar Ignacio Pickering Committed by Farhad Ramezanghorbani
Browse files

small fix in methane, had a missing atom (#288)

parent b83f824a
...@@ -357,7 +357,7 @@ class TestAEVOnBoundary(unittest.TestCase): ...@@ -357,7 +357,7 @@ class TestAEVOnBoundary(unittest.TestCase):
[-0.1, 1.0, -0.1], [-0.1, 1.0, -0.1],
[-0.1, -0.1, 1.0], [-0.1, -0.1, 1.0],
[-1.0, -1.0, -1.0]]], dtype=torch.double) [-1.0, -1.0, -1.0]]], dtype=torch.double)
self.species = torch.tensor([[1, 0, 0, 0]]) self.species = torch.tensor([[1, 0, 0, 0, 0]])
self.pbc = torch.ones(3, dtype=torch.bool) self.pbc = torch.ones(3, dtype=torch.bool)
self.v1, self.v2, self.v3 = self.cell self.v1, self.v2, self.v3 = self.cell
self.center_coordinates = self.coordinates + 0.5 * (self.v1 + self.v2 + self.v3) self.center_coordinates = self.coordinates + 0.5 * (self.v1 + self.v2 + self.v3)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment