Skip to content
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

Fix code formatting #119

Open
DanielSeemaier opened this issue Feb 25, 2022 · 1 comment
Open

Fix code formatting #119

DanielSeemaier opened this issue Feb 25, 2022 · 1 comment
Labels
wontfix This will not be worked on

Comments

@DanielSeemaier
Copy link
Member

DanielSeemaier commented Feb 25, 2022

Bad formatting:

template <typename T, typename S>
 struct is_builtin_mpi_op<
     kamping::ops::min<S>, T,
     typename std::enable_if<(std::is_same_v<S, void> || std::is_same_v<T, S>)&&(
         mpi_type_traits<T>::is_integer || mpi_type_traits<T>::is_float)>::type> : std::true_type {
     static MPI_Op op() {
         return MPI_MIN;
     }
 };

Bad formatting:

template <int is_commutative>
 struct UserOperationPtr {
     void operator=(UserOperationPtr<is_commutative>&) = delete;
     void operator                                     =(UserOperationPtr<is_commutative>&& other_op) {
         this->mpi_op   = other_op.mpi_op;
@DanielSeemaier
Copy link
Member Author

Second problem will be fixed with clang-format 15

@DanielSeemaier DanielSeemaier added the wontfix This will not be worked on label Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant