diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TypePrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 9f20b38b96..d4265bfdbd 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -480,7 +480,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const BoundingBoxTransform inline ::std::ostream &operator<<(::std::ostream &os, const bfloat16 &v) { std::stringstream str; - str << v; + str << static_cast<float>(v); os << str.str(); return os; } |