Ignore:
Timestamp:
Mar 5, 2007, 10:17:31 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Fixes #195.

File:
1 edited

Legend:

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

    r703 r782  
    6161    if (!sorted){
    6262      utility::vector vec_copy(vec);
    63       vec_copy.sort();
     63      utility::sort(vec_copy);
    6464      return gsl_stats_median_from_sorted_data (vec_copy.gsl_vector_p()->data,
    6565                                                vec_copy.gsl_vector_p()->stride,
     
    7676    if (!sorted){
    7777      utility::vector vec_c(vec);
    78       vec_c.sort();
     78      utility::sort(vec_c);
    7979      return gsl_stats_quantile_from_sorted_data(vec_c.gsl_vector_p()->data,
    8080                                                 vec_c.gsl_vector_p()->stride,
Note: See TracChangeset for help on using the changeset viewer.