diff --git a/ptycho/ptycho_example.py b/ptycho/ptycho_example.py index 6656a96..7193f3b 100644 --- a/ptycho/ptycho_example.py +++ b/ptycho/ptycho_example.py @@ -40,5 +40,5 @@ class ExamplePtychoEngine(PtychoEngine): def metric(self) -> float: if self._metric is None: output = self.output() - self._metric = random.uniform(0, 1) - (20 - self.config['ptycho']['params']['Nlayers'])**2 / 10 + self._metric = random.uniform(0, 1) return self._metric