Skip to content

Commit

Permalink
format: Avoid false positive with clang-format
Browse files Browse the repository at this point in the history
I'm not sure it is worth to keep formatting CoMMAConfig.h
  • Loading branch information
Riccardo Milani committed Mar 21, 2024
1 parent ad91b10 commit 611970f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config_files/CoMMAConfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,31 @@

#include <cstdint>

// clang-format off
#define CoMMA_VERSION @PROJECT_VERSION@
#define CoMMA_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define CoMMA_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define CoMMA_VERSION_PATCH @PROJECT_VERSION_PATCH@
// clang-format on

namespace comma {

// clang-format off
/// Type of an index (used by agglomerator CoMMA for edges and nodes).
using CoMMAIndexT = @INDEX_T@;
// clang-format on

// clang-format off
/// Type of floating-point values (used by agglomerator CoMMA for this edge
/// weights).
using CoMMAWeightT = @REAL_T@;
// clang-format on

// clang-format off
/// Type of integer for cardinality of coarse cells, dimension, distances,
/// orders...
using CoMMAIntT = @INT_T@;
// clang-format on

} // end namespace comma

Expand Down

0 comments on commit 611970f

Please sign in to comment.