aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiao Bin <bin.miao@intel.com>2024-04-09 14:36:34 +0800
committerMarat Dukhan <maratek@gmail.com>2024-04-10 09:12:34 -0700
commit581ac1c79dd9d9f6f4e8b2934e7a55c7becf0799 (patch)
tree67a6ba27a060f4fa5f43d2f2684445074610cd7f
parent0a92994d729ff76a58f692d3028ca1b64b145d91 (diff)
downloadFP16-upstream-master.tar.gz
Removed extra semicolon at the end of a functionupstream-master
-rw-r--r--third-party/half.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/third-party/half.hpp b/third-party/half.hpp
index 767c4b6..73a2ca0 100644
--- a/third-party/half.hpp
+++ b/third-party/half.hpp
@@ -1922,7 +1922,7 @@ namespace half_float
#endif
typedef half type;
- static half cast(U arg) { return cast_impl(arg, is_float<U>()); };
+ static half cast(U arg) { return cast_impl(arg, is_float<U>()); }
private:
static half cast_impl(U arg, true_type) { return half(binary, float2half<R>(static_cast<float>(arg))); }