From 88898494c4112902510e622345883c558c172632 Mon Sep 17 00:00:00 2001 From: Gregory Pataky Date: Tue, 27 Aug 2024 11:40:02 -0700 Subject: [PATCH] Internal exhasutive test refactoring PiperOrigin-RevId: 668074337 --- ml_dtypes/include/float8.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ml_dtypes/include/float8.h b/ml_dtypes/include/float8.h index 93aa0da4..a53e721f 100644 --- a/ml_dtypes/include/float8.h +++ b/ml_dtypes/include/float8.h @@ -84,13 +84,13 @@ class float8_base { explicit EIGEN_DEVICE_FUNC operator double() const { return ConvertTo(derived()); } - explicit EIGEN_DEVICE_FUNC operator float() const { + EIGEN_DEVICE_FUNC operator float() const { return ConvertTo(derived()); } - explicit EIGEN_DEVICE_FUNC operator Eigen::bfloat16() const { + EIGEN_DEVICE_FUNC operator Eigen::bfloat16() const { return ConvertTo(derived()); } - explicit EIGEN_DEVICE_FUNC operator Eigen::half() const { + EIGEN_DEVICE_FUNC operator Eigen::half() const { return ConvertTo(derived()); } explicit EIGEN_DEVICE_FUNC operator bool() const {