Commit 19172fd8 authored by Philipp Arras's avatar Philipp Arras
Browse files

Fixup

parent 81211dec
Pipeline #102670 passed with stages
in 13 minutes and 46 seconds
......@@ -72,7 +72,7 @@ class ADVIOptimizer(Minimizer):
x = self._step(E.position, E.gradient)
E = self._resample(x)
myassert(isinstance(E, Energy))
myassert(x.domain, E.position.domain)
myassert(x.domain is E.position.domain)
return E, convergence
def reset(self):
......
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