Commit 249d1edc authored by Oliver Sander's avatar Oliver Sander

[!320] [bugfix] complex values in FCGSolvers

Merge branch 'issue/iterative_solver_complex' into 'master'

ref:core/dune-istl

### Summary

Fix complex<double> field type in RestartedFCGSolver and CompleteFCGSolver

### Details

Passing vector type with field_type=complex<double> results in compiler errors
due to assignment of complex to double. This is fixed by changing types to
field_type instead of real_type similar to CGSolver and PCGSolver.

A test with explicit template instantiation of complex type is added to catch
this error.

See merge request [!320]

  [!320]: gitlab.dune-project.org/core/dune-istl/merge_requests/320
parents eed5aea9 6c1f8c10
Pipeline #20930 passed with stage
in 4 minutes and 50 seconds