Commit 9e708e60 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

use k_lengths instead of get_k_lengths()

parent e3ab3191
......@@ -96,7 +96,7 @@ class DirectSmoothingOperator(EndomorphicOperator):
affected_axes = x.domain.axes[self._space]
axis = affected_axes[0]
distances = x.domain[self._space].get_k_length_array()
distances = x.domain[self._space].k_lengths
if self._log_distances:
distances = np.log(np.maximum(distances, 1e-15))
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