Ignore:
Timestamp:
Sep 26, 2007, 11:26:25 PM (14 years ago)
Author:
Peter
Message:

changed euclidean to fulfill design criteria, removes sum_squared_deviation from AveragerPairWeighted?, also changed vector::sort to use stl rather than gsl. refs #248 and fixes #253

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/vector.cc

    r880 r899  
    3030#include "yat/random/random.h"
    3131
     32#include <algorithm>
    3233#include <cassert>
    3334#include <cmath>
     
    533534  {
    534535    assert(v.gsl_vector_p());
    535     gsl_sort_vector(v.gsl_vector_p());
     536    std::sort(v.begin(), v.end());
    536537  }
    537538
Note: See TracChangeset for help on using the changeset viewer.