mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-04-19 21:30:02 +02:00
ClusterSize should be larger than 1
This commit is contained in:
parent
f8f98b6ec3
commit
57bb6c71ae
@ -16,8 +16,9 @@ namespace aare {
|
||||
// requires clause c++20 maybe update
|
||||
template <typename T, uint8_t ClusterSizeX, uint8_t ClusterSizeY,
|
||||
typename CoordType = int16_t,
|
||||
typename Enable = std::enable_if_t<std::is_arithmetic_v<T> &&
|
||||
std::is_integral_v<CoordType>>>
|
||||
typename Enable = std::enable_if_t<
|
||||
std::is_arithmetic_v<T> && std::is_integral_v<CoordType> &&
|
||||
(ClusterSizeX > 1) && (ClusterSizeY > 1)>>
|
||||
struct Cluster {
|
||||
CoordType x;
|
||||
CoordType y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user