Changeset 2997


Ignore:
Timestamp:
Mar 14, 2013, 7:12:20 AM (9 years ago)
Author:
Peter
Message:

improve error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.10-stable/yat/statistics/KolmogorovSmirnov.cc

    r2837 r2997  
    3434#include <functional>
    3535#include <limits>
     36#include <sstream>
    3637#include <vector>
    3738
     
    125126      ++iter.first;
    126127    }
    127     throw utility::runtime_error("bajs");
     128    std::ostringstream ss;
     129    ss << "KolmogorovSmirnov::remove: " << value << " " << class_label
     130       << " " << weight;
     131    throw utility::runtime_error(ss.str());
    128132  }
    129133
Note: See TracChangeset for help on using the changeset viewer.