/**
* Access to user pointers.
*/
- void *&user_pointer(const unsigned int i);
+ void * &user_pointer(const unsigned int i);
/**
* Read-only access to user pointers.
template<typename G>
inline
- void *&
+ void * &
TriaObjects<G>::user_pointer (const unsigned int i)
{
#ifdef DEBUG
struct Norm2
{
RealType
- operator() (const Number *&X, const Number *&, const RealType &) const
+ operator() (const Number *&X, const Number * &, const RealType &) const
{
return numbers::NumberTraits<Number>::abs_square(*X++);
}
struct Norm1
{
RealType
- operator() (const Number *&X, const Number *&, const RealType &) const
+ operator() (const Number *&X, const Number * &, const RealType &) const
{
return numbers::NumberTraits<Number>::abs(*X++);
}
struct NormP
{
RealType
- operator() (const Number *&X, const Number *&, const RealType &p) const
+ operator() (const Number *&X, const Number * &, const RealType &p) const
{
return std::pow(numbers::NumberTraits<Number>::abs(*X++), p);
}
struct MeanValue
{
Number
- operator() (const Number *&X, const Number *&, const Number &) const
+ operator() (const Number *&X, const Number * &, const Number &) const
{
return *X++;
}