Commit 9330d02c authored by Erik Fransson's avatar Erik Fransson

int cast (had this change since a while back)

parent 365cd097
......@@ -180,7 +180,7 @@ class reciprocal_isotropic(reciprocal_processor):
self.q_prune = get_prune_distance(max_points, max_q, q_vol)
b1, b2, b3 = [(2 * pi) * x.reshape((3, 1, 1, 1)) for x in self.B]
N_k1, N_k2, N_k3 = [np.ceil(max_q / dq) for dq in q_mins]
N_k1, N_k2, N_k3 = [int(np.ceil(max_q / dq)) for dq in q_mins]
k_points = \
b1 * arange(N_k1, dtype=npftype).reshape((1, N_k1, 1, 1)) + \
b2 * arange(N_k2, dtype=npftype).reshape((1, 1, N_k2, 1)) + \
......
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