remove repetitive code (#2562)

This commit is contained in:
Illia Silin
2025-07-24 14:52:46 -07:00
committed by GitHub
parent 963dfa680b
commit 9c04a55626

View File

@@ -71,17 +71,6 @@ struct f4x2_pk_t
{
return !(lhs == rhs);
}
// Compare operator
__host__ __device__ friend bool operator==(const f4x2_pk_t& lhs, const f4x2_pk_t& rhs)
{
return lhs.data == rhs.data;
}
__host__ __device__ friend bool operator!=(const f4x2_pk_t& lhs, const f4x2_pk_t& rhs)
{
return !(lhs == rhs);
}
};
template <typename BitType, index_t pk_size>