From 1178a1a26c9ccf475209ef10a72ea9a5dd03dc81 Mon Sep 17 00:00:00 2001 From: Sergei Mozhaikin Date: Tue, 17 Jan 2023 11:26:40 +0300 Subject: [PATCH] Fixed issue with merging double graph options fields --- mediapipe/framework/tool/proto_util_lite.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/framework/tool/proto_util_lite.cc b/mediapipe/framework/tool/proto_util_lite.cc index a810ce129..b338e9a5b 100644 --- a/mediapipe/framework/tool/proto_util_lite.cc +++ b/mediapipe/framework/tool/proto_util_lite.cc @@ -479,7 +479,7 @@ absl::Status ProtoUtilLite::WriteValue(const FieldData& value, WireFormatLite::WriteUInt64NoTag(value.uint64_value(), &out); break; case WireFormatLite::TYPE_DOUBLE: - WireFormatLite::WriteDoubleNoTag(value.uint64_value(), &out); + WireFormatLite::WriteDoubleNoTag(value.double_value(), &out); break; case WireFormatLite::TYPE_FLOAT: WireFormatLite::WriteFloatNoTag(value.float_value(), &out);