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


parent 81211dec
......@@ -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):
Supports Markdown
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