Ignore:
Timestamp:
Oct 6, 2007, 1:02:08 AM (14 years ago)
Author:
Peter
Message:

reimplementing yat_assert as a throwing function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/IGP.h

    r925 r936  
    3434#include <cmath>
    3535#include <limits>
     36#include <stdexcept>
    3637
    3738namespace theplu {
     
    8283    : matrix_(data), target_(target)
    8384  {   
    84     yat_assert(target_.size()==matrix_.columns());
     85    utility::yat_assert<std::runtime_error>(target_.size()==matrix_.columns());
    8586   
    8687    // Calculate IGP for each class
Note: See TracChangeset for help on using the changeset viewer.