I encounter a problem when I tried to use inner product inside the class (I need to subtract the absolute values of two vectors). I cannot pass my own binaryOperaton function as an argument to inner_product(...) when this binaryOperation is defined inside the class.
The following error appears:
error: invalid use of non-static member function ‘double Convergence<dim>::myaccumulator(double, double) [with int dim = 2]’
Can someone tell me what is incorrect in this implementation?