Changeset 2155 for trunk/yat/normalizer/Spearman.h
- Timestamp:
- Jan 18, 2010, 12:22:10 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/normalizer/Spearman.h
r2154 r2155 23 23 along with yat. If not, see <http://www.gnu.org/licenses/>. 24 24 */ 25 26 #include "utility.h" 25 27 26 28 #include "yat/utility/DataIterator.h" … … 72 74 BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<RandomAccessIter1>)); 73 75 BOOST_CONCEPT_ASSERT((boost::Mutable_RandomAccessIterator<RandomAccessIter2>)); 74 typename utility::weighted_iterator_traits<RandomAccessIter1>::type tag; 76 using utility::weighted_if_any2; 77 typename weighted_if_any2<RandomAccessIter1,RandomAccessIter2>::type tag; 75 78 normalize(first, last, result, tag); 76 79 } … … 105 108 utility::weighted_iterator_tag) const 106 109 { 107 std::copy(utility::weight_iterator(first), 108 utility::weight_iterator(last), 109 utility::weight_iterator(result)); 110 detail::copy_weight_if_weighted(first, last, result); 110 111 std::vector<double> input_vec; 111 112 input_vec.reserve(last-first);
Note: See TracChangeset
for help on using the changeset viewer.