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

using weighted_iterator_traits, closes #151

File:
1 edited

Legend:

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

    r900 r909  
    88#include "AveragerPair.h"
    99#include "AveragerPairWeighted.h"
     10#include "yat/utility/IteratorTraits.h"
    1011
    1112namespace theplu {
     
    3334  double vector_distance(Iter beg1,Iter end1, Iter beg2,
    3435                         const pearson_vector_distance_tag& disttype,
    35                          std::forward_iterator_tag)
     36                         utility::unweighted_type)
    3637  {
    3738    AveragerPair ap;
     
    4849  double vector_distance(Iter beg1,Iter end1, Iter beg2,
    4950                         const pearson_vector_distance_tag& disttype,
    50                          utility::weighted_random_access_iterator_tag)
     51                         utility::weighted_type)
    5152  {
    5253    AveragerPairWeighted ap;
Note: See TracChangeset for help on using the changeset viewer.