diff --git a/source/Storm/Bittern/Matrix.hpp b/source/Storm/Bittern/Matrix.hpp index 980d8274..39e6f5fd 100644 --- a/source/Storm/Bittern/Matrix.hpp +++ b/source/Storm/Bittern/Matrix.hpp @@ -50,10 +50,8 @@ concept matrix_shape = template concept matrix = // requires(Matrix& mat) { - // clang-format off { mat.shape() } -> matrix_shape; { std::apply(mat, mat.shape()) } /*-> referenceable */; - // clang-format on }; // ----------------------------------------------------------------------------- diff --git a/source/Storm/Mallard/Shape.hpp b/source/Storm/Mallard/Shape.hpp index 4a205d64..13dda878 100644 --- a/source/Storm/Mallard/Shape.hpp +++ b/source/Storm/Mallard/Shape.hpp @@ -54,10 +54,8 @@ enum class Type : std::uint8_t { template concept shape = requires(Shape shape) { - // clang-format off { shape.type() } -> std::same_as; { shape.nodes() } -> std::ranges::forward_range; - // clang-format off } && std::same_as< std::ranges::range_value_t().nodes())>, @@ -100,8 +98,7 @@ template requires ((Index == 0) || (Index == 1 && (shape2D || shape3D) ) || (Index == 2 && shape3D) ) -constexpr auto parts(const Shape& shape) noexcept -{ +constexpr auto parts(const Shape& shape) noexcept { if constexpr (Index == 0) { return shape.nodes(); } else if constexpr (Index == 1) { @@ -118,9 +115,7 @@ template concept complex_shape = shape && mesh && requires(Shape shape, const Mesh& mesh) { - // clang-format off { shape.pieces(mesh) } -> std::ranges::forward_range; - // clang-format on } && shape().pieces(std::declval()))>>; diff --git a/source/Storm/Utils/Meta.hpp b/source/Storm/Utils/Meta.hpp index 29110441..1aad2ea1 100644 --- a/source/Storm/Utils/Meta.hpp +++ b/source/Storm/Utils/Meta.hpp @@ -100,11 +100,9 @@ consteval auto make_seq() { if constexpr (First >= Last) { return list_v<>; } else { - // clang-format off - return [](std::integer_sequence) { + return ([](std::integer_sequence) { return list_v...>; - }(std::make_integer_sequence{}); - // clang-format on + }(std::make_integer_sequence{})); } }