Ignore:
Timestamp:
Sep 29, 2007, 1:49:05 AM (14 years ago)
Author:
Peter
Message:

using weighted_iterator_traits, closes #151

File:
1 edited

Legend:

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

    r900 r909  
    77#include "AveragerPairWeighted.h"
    88#include "vector_distance.h"
     9#include "yat/utility/IteratorTraits.h"
    910
    1011#include <cmath>
     
    3435  double vector_distance(Iter1 beg1,Iter1 end1, Iter2 beg2,
    3536                         const euclidean_vector_distance_tag& disttype,
    36                          std::forward_iterator_tag)
     37                         utility::unweighted_type)
    3738  {
    3839    AveragerPair ap;
     
    5051  double vector_distance(Iter1 beg1, Iter1 end1, Iter2 beg2,
    5152                         const euclidean_vector_distance_tag& disttype,
    52                          utility::weighted_random_access_iterator_tag)
     53                         utility::weighted_type)
    5354  {
    5455    AveragerPairWeighted ap;
Note: See TracChangeset for help on using the changeset viewer.