Commit 0c4e7310 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

remove superfluous property

parent 37692fee
Pipeline #26456 passed with stage
in 5 minutes and 54 seconds
......@@ -50,10 +50,8 @@ class LaplaceOperator(EndomorphicOperator):
if not isinstance(self._domain[self._space], PowerSpace):
raise ValueError("Operator must act on a PowerSpace.")
self._logarithmic = bool(logarithmic)
pos = self.domain[self._space].k_lengths.copy()
if self.logarithmic:
if logarithmic:
pos[1:] = np.log(pos[1:])
pos[0] = pos[1]-1.
......@@ -74,10 +72,6 @@ class LaplaceOperator(EndomorphicOperator):
def capability(self):
return self.TIMES | self.ADJOINT_TIMES
@property
def logarithmic(self):
return self._logarithmic
def _times(self, x):
axes = x.domain.axes[self._space]
axis = axes[0]
......
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