diff --git a/Core/include/Acts/Surfaces/SurfaceConcept.hpp b/Core/include/Acts/Surfaces/SurfaceConcept.hpp index 432da8edac3..5425ad3a4ca 100644 --- a/Core/include/Acts/Surfaces/SurfaceConcept.hpp +++ b/Core/include/Acts/Surfaces/SurfaceConcept.hpp @@ -104,10 +104,10 @@ concept SurfaceConcept = requires(S s, const S cs, S s2, const S cs2, }; template -concept RegularSurfaceConcept = SurfaceConcept && - requires(S s, const S cs, GeometryContext gctx, - BoundaryTolerance tolerance) { - { cs.normal(gctx, Vector2{}) } -> std::same_as; +concept RegularSurfaceConcept = + SurfaceConcept && requires(S s, const S cs, GeometryContext gctx, + BoundaryTolerance tolerance) { + { cs.normal(gctx, Vector2{}) } -> std::same_as; { cs.normal(gctx, Vector3{}) } -> std::same_as; @@ -115,8 +115,8 @@ concept RegularSurfaceConcept = SurfaceConcept && cs.globalToLocal(gctx, Vector3{}, Vector3{}, std::declval()) } -> std::same_as>; - { cs.localToGlobal(gctx, Vector2{}) } -> std::same_as; + { cs.localToGlobal(gctx, Vector2{}) } -> std::same_as; - { cs.isOnSurface(gctx, Vector3{}, tolerance) } -> std::same_as; -}; + { cs.isOnSurface(gctx, Vector3{}, tolerance) } -> std::same_as; + }; } // namespace Acts