Ignore:
Timestamp:
Jan 18, 2010, 1:19:52 AM (13 years ago)
Author:
Peter
Message:

refs #498. Zscore now works with mixed iterators and also refined requirements on iterator types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/normalization_test.cc

    r2156 r2157  
    467467  suite.add(suite.equal(vec3[1].data(), 1.0));
    468468  suite.add(suite.equal(vec3[2].data(), 1.0));
    469 }
    470 
    471 
     469  // compile test should not be run
     470  if (false) {
     471    boost::detail::dummy_constructor dummy_cons;
     472    zscore(boost::forward_iterator_archetype<double>(),
     473           boost::forward_iterator_archetype<double>(),
     474           boost::output_iterator_archetype<double>(dummy_cons));
     475    using utility::DataWeight;
     476    zscore(boost::forward_iterator_archetype<DataWeight>(),
     477           boost::forward_iterator_archetype<DataWeight>(),
     478           boost::mutable_forward_iterator_archetype<DataWeight>());
     479    zscore(boost::random_access_iterator_archetype<DataWeight>(),
     480           boost::random_access_iterator_archetype<DataWeight>(),
     481           boost::mutable_random_access_iterator_archetype<double>());
     482    zscore(boost::random_access_iterator_archetype<double>(),
     483           boost::random_access_iterator_archetype<double>(),
     484           boost::mutable_random_access_iterator_archetype<DataWeight>());
     485  }
     486}
     487
     488
Note: See TracChangeset for help on using the changeset viewer.