Changeset 2158 for trunk/yat/normalizer/qQuantileNormalizer.h
- Timestamp:
- Jan 18, 2010, 1:33:15 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.