aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/TypePrinter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index a31a0e559b..8f9c24955e 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2022 Arm Limited.
+ * Copyright (c) 2017-2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -482,7 +482,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const BoundingBoxTransform
inline ::std::ostream &operator<<(::std::ostream &os, const bfloat16 &v)
{
std::stringstream str;
- str << static_cast<float>(v);
+ str << v;
os << str.str();
return os;
}