Changeset 904


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

removing assert from header file

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r901 r904  
    3232  distance_test \
    3333  ensemble_test feature_selection_test fileutil_test inputranker_test \
    34   iterator_test kernel_test kernel_lookup_test knn_test matrix_test matrix_lookup_test  \
     34  iterator_test kernel_test kernel_lookup_test \
     35  knn_test matrix_test matrix_lookup_test \
    3536  nbc_test \
    3637  ncc_test nni_test pca_test regression_test rnd_test roc_test \
  • 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.