ClusterSize should be larger than 1
Some checks failed
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Failing after 51s
Build the package using cmake then documentation / deploy (push) Has been skipped

This commit is contained in:
mazzol_a 2025-03-28 14:49:55 +01:00
parent f8f98b6ec3
commit 57bb6c71ae

View File

@ -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;