Commit 6636f682 authored by Philipp Arras's avatar Philipp Arras

Add missing property decorator

I have no idea why minimization has been working in the first place. The bug was
found by trying to access WienerFilterEnergy(...).value.
parent f51e2814
Pipeline #15702 failed with stage
in 6 minutes and 36 seconds
......@@ -49,6 +49,7 @@ class WienerFilterEnergy(Energy):
def curvature(self):
return WienerFilterCurvature(R=self.R, N=self.N, S=self.S)
@property
@memo
def _Dx(self):
return self.curvature(self.position)
......
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