When I try calling ngs.solvers.CG as:
ngs.solvers.CG(mat=a_assembled.mat, rhs=L_assembled.vec, pre=precond, sol=gfu.vec,
tol=self.solver_tolerance, maxsteps=self.solver_max_iters, printrates=self.verbose,
initialize=False)
It produces the following warning in the console: WARNING: maxsteps is deprecated, use maxiter instead!
However, when I try changing maxsteps to maxiter the call crashes: TypeError: CG() got an unexpected keyword argument 'maxiter'.
Ubuntu 21.10
Python 3.9.7
NGSolve-6.2.2105 (installed using apt)