Changeset 757 for trunk/yat/statistics


Ignore:
Timestamp:
Feb 19, 2007, 7:51:31 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Fixed #include statemenst and forward declarations. asserts in headers removed.

Location:
trunk/yat/statistics
Files:
4 edited

Legend:

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

    r720 r757  
    2727#include "Averager.h"
    2828
    29 #include <cassert>
    3029#include <cmath>
    3130#include <utility>
     
    166165  void AveragerPair::add_values(const T1& x, const T2& y)
    167166  {
    168     assert(x.size()==y.size());
    169167    for (size_t i=0; i<x.size(); i++)
    170168      add(x[i],y[i]);
  • trunk/yat/statistics/AveragerWeighted.h

    r756 r757  
    2727#include "Averager.h"
    2828
    29 #include <cassert>
    3029#include <cmath>
    3130
     
    222221  void AveragerWeighted::add_values(const T1& x, const T2& w)
    223222  {
    224     assert(x.size()==w.size());
    225223    for (size_t i=0; i<x.size(); i++)
    226224      add(x[i],w[i]);
  • trunk/yat/statistics/Score.h

    r747 r757  
    2424  02111-1307, USA.
    2525*/
    26 
    27 #include <cassert>
    2826
    2927namespace theplu {
  • trunk/yat/statistics/utility.h

    r718 r757  
    2828
    2929#include <algorithm>
    30 #include <cassert>
    3130#include <cmath>
    3231#include <vector>
     
    135134                    const bool sorted=false)
    136135  {
    137     assert(!(p>100 && p<0));
    138136    if (sorted){
    139137      if (p>=100)
Note: See TracChangeset for help on using the changeset viewer.