-
-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update result_type in set_union.hpp #6644
base: master
Are you sure you want to change the base?
Update result_type in set_union.hpp #6644
Conversation
Can one of the admins verify this patch? |
@hkaiser Please review this PR and how can i fix this clang format check which is failing? |
@AmanpreetS18 please fix the reported clang-format issues: diff --git a/libs/core/algorithms/include/hpx/parallel/algorithms/set_union.hpp b/libs/core/algorithms/include/hpx/parallel/algorithms/set_union.hpp
index 40ad33d..9c08152 100644
--- a/libs/core/algorithms/include/hpx/parallel/algorithms/set_union.hpp
+++ b/libs/core/algorithms/include/hpx/parallel/algorithms/set_union.hpp
@@ -367,7 +367,8 @@ namespace hpx {
!hpx::traits::is_random_access_iterator_v<FwdIter1> ||
!hpx::traits::is_random_access_iterator_v<FwdIter2>>;
- using result_type = hpx::parallel::util::in_in_out_result<FwdIter1,FwdIter2, FwdIter3>;
+ using result_type = hpx::parallel::util::in_in_out_result<FwdIter1,
+ FwdIter2, FwdIter3>;
return hpx::parallel::util::get_third_element(
hpx::parallel::detail::set_union<result_type>().call2(
@@ -400,7 +401,8 @@ namespace hpx {
static_assert(hpx::traits::is_output_iterator_v<FwdIter3>,
"Requires at least output iterator.");
- using result_type = hpx::parallel::util::in_in_out_result<FwdIter1,FwdIter2, FwdIter3>;
+ using result_type = hpx::parallel::util::in_in_out_result<FwdIter1,
+ FwdIter2, FwdIter3>;
return hpx::parallel::util::get_third_element(
hpx::parallel::detail::set_union<result_type>().call( |
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
@hkaiser Fixed the clang-format issue! |
@hkaiser please review this or are there any additional comments |
I'm not sure why clang-format didn't complain, but inspect did flag some problems:
|
@AmanpreetS18 inspect is still not happy:
|
@AmanpreetS18 are you still interested in moving this forward? |
Fixes #6631
1.Fixed the result_type in set_union.hpp as mentioned in issue 6631
2.Changed the 2nd parameter which was FwdIter3 to FwdIter2 as it was getting repeated, might be a type-error!