Skip to content

Commit 64fd4db

Browse files
committed
fix: Correct namespace closure for AddGroup in group.hpp
1 parent 638ba1e commit 64fd4db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

weilycoder/ds/group.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#ifndef WEILYCODER_GROUP_HPP
22
#define WEILYCODER_GROUP_HPP
33

4+
namespace weilycoder {
45
/**
56
* @brief Additive Group
67
* @tparam T Type of the elements
@@ -11,5 +12,6 @@ template <typename T> struct AddGroup {
1112
static constexpr T identity() { return T{}; }
1213
static constexpr T inverse(const T &a) { return -a; }
1314
};
15+
} // namespace weilycoder
1416

1517
#endif

0 commit comments

Comments
 (0)