Ignore:
Timestamp:
Feb 18, 2008, 5:37:50 AM (14 years ago)
Author:
Peter
Message:

fixes #313 - SVM constructor is void and passing kernel and target in train function instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/yat_assert.h

    r1000 r1100  
    3838  template<class X> inline void yat_assert(bool assertion, std::string msg="")
    3939#ifdef YAT_DEBUG
    40   { if (YAT_DEBUG && !assertion) throw X(msg); }
     40  { if (!assertion) throw X(std::string("yat_assert:")+msg); }
    4141#else
    4242  { }
Note: See TracChangeset for help on using the changeset viewer.