mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-04-20 22:00: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
|
// requires clause c++20 maybe update
|
||||||
template <typename T, uint8_t ClusterSizeX, uint8_t ClusterSizeY,
|
template <typename T, uint8_t ClusterSizeX, uint8_t ClusterSizeY,
|
||||||
typename CoordType = int16_t,
|
typename CoordType = int16_t,
|
||||||
typename Enable = std::enable_if_t<std::is_arithmetic_v<T> &&
|
typename Enable = std::enable_if_t<
|
||||||
std::is_integral_v<CoordType>>>
|
std::is_arithmetic_v<T> && std::is_integral_v<CoordType> &&
|
||||||
|
(ClusterSizeX > 1) && (ClusterSizeY > 1)>>
|
||||||
struct Cluster {
|
struct Cluster {
|
||||||
CoordType x;
|
CoordType x;
|
||||||
CoordType y;
|
CoordType y;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user