diff --git a/gloo/types.h b/gloo/types.h index 94782d63d..57514b22c 100644 --- a/gloo/types.h +++ b/gloo/types.h @@ -134,7 +134,7 @@ struct alignas(2) float16 { } bool operator!=(const float16& rhs) const { - return !(*this == rhs.x); + return !(*this == rhs); } bool operator==(const int& rhs) const {