Changeset 2158
- Timestamp:
- Jan 18, 2010, 1:33:15 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/normalization_test.cc
r2157 r2158 201 201 boost::random_access_iterator_archetype<DataWeight>(), 202 202 boost::mutable_random_access_iterator_archetype<DataWeight>()); 203 qqn4(boost::random_access_iterator_archetype<DataWeight>(), 204 boost::random_access_iterator_archetype<DataWeight>(), 205 boost::mutable_random_access_iterator_archetype<double>()); 203 206 } 204 207 } -
trunk/yat/normalizer/qQuantileNormalizer.h
r2154 r2158 21 21 along with yat. If not, see <http://www.gnu.org/licenses/>. 22 22 */ 23 24 #include "utility.h" 23 25 24 26 #include "yat/regression/CSplineInterpolation.h" … … 241 243 { 242 244 Partitioner source(first, last, target_.size()); 243 typename utility::weighted_i terator_traits<RandomAccessIterator2>::type tag;245 typename utility::weighted_if_any2<RandomAccessIterator1, RandomAccessIterator2>::type tag; 244 246 normalize(source, first, last, result, tag); 245 247 } … … 318 320 BOOST_CONCEPT_ASSERT((boost::Mutable_RandomAccessIterator<RandomAccessIterator2>)); 319 321 // copy the weights 320 std::copy(utility::weight_iterator(first), 321 utility::weight_iterator(last), 322 utility::weight_iterator(result)); 322 detail::copy_weight_if_weighted(first, last, result); 323 323 324 324 double total_w = std::accumulate(utility::weight_iterator(first),
Note: See TracChangeset
for help on using the changeset viewer.