Ignore:
Timestamp:
Sep 27, 2007, 8:30:12 PM (14 years ago)
Author:
Peter
Message:

removing assert from header file

File:
1 edited

Legend:

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

    r902 r904  
    113113  utility::matrix* KNN<Distance>::calculate_distances(const DataLookup2D& input) const
    114114  {
    115     assert(input.rows()==data_.rows());
    116    
    117115    const MatrixLookupWeighted* weighted_data =
    118116      dynamic_cast<const MatrixLookupWeighted*>(&data_);
     
    186184                              utility::matrix& prediction) const
    187185  {   
    188     assert(input.rows()==data_.rows());
    189    
    190186    utility::matrix* distances=calculate_distances(input);
    191187   
Note: See TracChangeset for help on using the changeset viewer.