Changeset 956 for trunk/yat/statistics


Ignore:
Timestamp:
Oct 9, 2007, 3:03:22 PM (14 years ago)
Author:
Markus Ringnér
Message:

Bug fixing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/vector_distance.h

    r937 r956  
    5858  }       
    5959
    60   /// A partial specialization for DataLookupWeighted1D
    61   template<typename Dist>
    62   double vector_distance(const classifier::DataLookupWeighted1D::const_iterator& beg1,const classifier::DataLookupWeighted1D::const_iterator& end1,const classifier::DataLookupWeighted1D::const_iterator& beg2)
    63   {
    64     return vector_distance(beg1,end1,beg2, typename statistics::vector_distance_traits<Dist>::distance());
    65   }
    66  
    67   /// A partial specialization for DataLookup1D
    68   template<typename Dist>
    69   double vector_distance(const classifier::DataLookup1D::const_iterator& beg1,const classifier::DataLookup1D::const_iterator& end1,const classifier::DataLookup1D::const_iterator& beg2)
    70   {
    71     return vector_distance(beg1,end1,beg2, typename statistics::vector_distance_traits<Dist>::distance());
    72   }
    73  
    7460}}} // of namespace statistics, yat, and theplu
    7561
Note: See TracChangeset for help on using the changeset viewer.