Corrected error in transform_n.

This commit is contained in:
jwellbelove 2017-03-10 07:52:45 +00:00
parent 3f7e587322
commit 4ad9e0dc6e

View File

@ -711,7 +711,7 @@ namespace etl
TOutputIterator o_begin,
TBinaryFunction function)
{
std::transform(i_begin, i_begin + n, i_begin2, o_begin, function);
std::transform(i_begin1, i_begin1 + n, i_begin2, o_begin, function);
}
//***************************************************************************