From 83cce3420c50ee425e1026b4b665365ff20c2cf2 Mon Sep 17 00:00:00 2001 From: Xie Han <63350856@qq.com> Date: Fri, 8 Mar 2024 16:52:20 +0800 Subject: [PATCH] Fix merge task. --- src/factory/WFAlgoTaskFactory.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/factory/WFAlgoTaskFactory.inl b/src/factory/WFAlgoTaskFactory.inl index b3879419..36d26fc6 100644 --- a/src/factory/WFAlgoTaskFactory.inl +++ b/src/factory/WFAlgoTaskFactory.inl @@ -92,7 +92,7 @@ void __WFMergeTask::execute() else { output->last = std::merge(input->first1, input->last1, - input->first2, input->first2, + input->first2, input->last2, input->d_first); } @@ -252,7 +252,7 @@ void __WFMergeTaskCmp::execute() else { output->last = std::merge(input->first1, input->last1, - input->first2, input->first2, + input->first2, input->last2, input->d_first, std::move(this->compare)); }