Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
osbornjd committed Dec 20, 2023
1 parent e0d449a commit af70f27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/utils/test_vector_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#include <tuple>
#include <type_traits>
using Vector2And3Types = std::tuple<edm4hep::Vector3f, edm4hep::Vector3d, edm4hep::Vector2i, edm4hep::Vector2f>;
using AllVectorTypes = std::tuple<edm4hep::Vector4f, edm4hep::Vector3f, edm4hep::Vector3d, edm4hep::Vector2i, edm4hep::Vector2f>;
using AllVectorTypes =
std::tuple<edm4hep::Vector4f, edm4hep::Vector3f, edm4hep::Vector3d, edm4hep::Vector2i, edm4hep::Vector2f>;

template <typename V>
constexpr V create();
Expand Down
2 changes: 1 addition & 1 deletion utils/include/edm4hep/utils/vector_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace utils {
constexpr auto vector_y(const V& v) {
return v.y;
}

template <Vector2D V>
constexpr auto vector_z(const V&) {
return 0;
Expand Down

0 comments on commit af70f27

Please sign in to comment.