Ignore:
Timestamp:
Mar 17, 2013, 6:53:07 AM (9 years ago)
Author:
Peter
Message:

fixes bug in KolmogorovSmirnov::remove. closes #753.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.10-stable/test/kolmogorov_smirnov.cc

    r2881 r3000  
    206206  suite.out() << "test remove\n";
    207207  KolmogorovSmirnov ks;
     208  ks.add(0, true);
    208209  ks.add(1, true);
    209210  ks.add(2, false);
     
    211212  ks.add(3, false);
    212213  double score = ks.score();
    213   ks.add(4, false);
     214  double x = 0;
     215  ks.add(x, false);
    214216
    215217  try {
    216     ks.remove(4, false);
     218    ks.remove(x, false);
    217219  }
    218220  catch (std::runtime_error& e) {
Note: See TracChangeset for help on using the changeset viewer.