Changeset 909 for trunk/yat/statistics/vector_distance.h
 Timestamp:
 Sep 29, 2007, 1:49:05 AM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/statistics/vector_distance.h
r898 r909 8 8 #include "yat/classifier/DataLookup1D.h" 9 9 #include "yat/classifier/DataLookupWeighted1D.h" 10 #include "yat/utility/IteratorTraits.h" 10 11 11 12 namespace theplu { … … 51 52 double vector_distance(Iter1 beg1, Iter1 end1, Iter2 beg2, const Dist disttag) 52 53 { 53 return vector_distance(beg1,end1,beg2, 54 typename vector_distance_traits<Dist>::distance(), 55 typename std::iterator_traits<Iter1>::iterator_category()); 54 return 55 vector_distance(beg1,end1,beg2, 56 typename vector_distance_traits<Dist>::distance(), 57 typename utility::weighted_iterator_traits<Iter1>::type()); 56 58 } 57 59
Note: See TracChangeset
for help on using the changeset viewer.