Commit 4a6d0a3e authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Removed duplicated operator, from VectorView

It is already defined in VectorViewExpressions.h
parent f9910f97
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -126,14 +126,6 @@ public:
   template< typename VectorExpression >
   VectorView& operator/=( const VectorExpression& expression );

   /**
    * \brief Scalar product
    * @param v
    * @return
    */
   template< typename Vector_ >
   NonConstReal operator,( const Vector_& v ) const;

   template< typename ResultType = NonConstReal >
   ResultType sum() const;

+0 −11
Original line number Diff line number Diff line
@@ -150,17 +150,6 @@ operator/=( const VectorExpression& expression )
   return *this;
}

template< typename Real,
          typename Device,
          typename Index >
   template< typename Vector_ >
typename VectorView< Real, Device, Index >::NonConstReal
VectorView< Real, Device, Index >::
operator,( const Vector_& v ) const
{
   return dot( *this, v );
}

template< typename Real,
          typename Device,
          typename Index >