Commit 34041b66 authored by Daniel Speckhard's avatar Daniel Speckhard
Browse files

fixed cos() import issue.

parent 3bb3b6e2
......@@ -167,8 +167,8 @@ def get_special_points(cell, eps=1e-4):
return special_points[lattice]
# Here, we need the cell:
eta = (1 - b * cos(alpha) / c) / (2 * sin(alpha)**2)
nu = 1 / 2 - eta * c * cos(alpha) / b
eta = (1 - b * np.cos(alpha) / c) / (2 * np.sin(alpha)**2)
nu = 1 / 2 - eta * c * np.cos(alpha) / b
return {'Γ': [0, 0, 0],
'A': [1 / 2, 1 / 2, 0],
'C': [0, 1 / 2, 1 / 2],
......
Supports Markdown
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