Commit e01898cc authored by's avatar
Browse files

Remove the template parameter V from NonlinearGSStep

Take it from the Functional type instead.
parent 2a1df1e9
Pipeline #5066 failed with stage
in 14 seconds
......@@ -144,20 +144,19 @@ auto gaussSeidelLocalSolver(LS&& localSolver) -> decltype(GaussSeidelLocalSolver
* \brief A nonlinear Gauss-Seidel step
* \tparam V Vector type storing the iterate
* \tparam F Functional to minimize
* \tparam LS Local solver type
* \tparam BV Bit-vector type for marking ignored components
template<class V, class F, class LS, class BV = typename Solvers::DefaultBitVector_t<V> >
template<class F, class LS, class BV = typename Solvers::DefaultBitVector_t<typename F::Vector> >
class NonlinearGSStep :
public IterationStep<V, BV>
public IterationStep<typename F::Vector, BV>
using Base = IterationStep<V, BV>;
using Base = IterationStep<typename F::Vector, BV>;
using Vector = typename Base::Vector;
using Vector = typename F::Vector;
using BitVector = typename Base::BitVector;
using Functional = F;
using LocalSolver = LS;
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