/[ff3d]/ff3d/algebra/TinyVector.hpp
ViewVC logotype

Diff of /ff3d/algebra/TinyVector.hpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by delpinux, Mon Feb 17 16:32:51 2003 UTC revision 1.2 by delpinux, Sun Mar 23 19:22:03 2003 UTC
# Line 101  public: Line 101  public:
101    }    }
102    
103    //! Scalar product between 2 TinyVectors.    //! Scalar product between 2 TinyVectors.
104    inline real_t operator*(const TinyVector<N,real_t>& V) const    template <typename T2>
105      inline real_t operator*(const TinyVector<N,T2>& V) const
106    {    {
107      assert(typeid(T) == typeid(real_t));      assert(typeid(T) == typeid(real_t));
108      real_t s=0;      real_t s=0;
# Line 311  public: Line 312  public:
312    }    }
313    
314    //! Scalar product between 2 TinyVectors.    //! Scalar product between 2 TinyVectors.
315    inline real_t operator*(const TinyVector<3,real_t>& V) const    template <typename T2>
316      inline real_t operator*(const TinyVector<3,T2>& V) const
317    {    {
318      assert(typeid(T) == typeid(real_t));      assert(typeid(T) == typeid(real_t));
319      real_t s=0;      real_t s=0;

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26