We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f510e30 commit 3fe5c9dCopy full SHA for 3fe5c9d
1 file changed
pylops/optimization/basesolver.py
@@ -335,10 +335,10 @@ def callback( # noqa: B027
335
>>> def callback(x):
336
... print(f"Running callback, current solution {x}")
337
...
338
- >>> I = Identity(10)
339
- >>> I
+ >>> IOp = Identity(10)
+ >>> IOp
340
<10x10 Identity with dtype=float64>
341
- >>> cgsolve = CG(I, np.arange(10))
+ >>> cgsolve = CG(IOp)
342
>>> cgsolve.callback = callback
343
344
>>> x = np.ones(10)
0 commit comments