From 0c4e76a557fd2639dcc21693352630be813491b8 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Mon, 7 Apr 2014 15:29:46 +0400 Subject: [PATCH] Added future TODO for proper float comparison for generated types --- .../libuavcan_dsdl_compiler/data_type_template.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/data_type_template.tmpl b/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/data_type_template.tmpl index 0c4ed5ee47..86d5e60040 100644 --- a/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/data_type_template.tmpl +++ b/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/data_type_template.tmpl @@ -116,6 +116,7 @@ struct ${t.cpp_type_name} bool operator!=(ParameterType rhs) const { return !operator==(rhs); } bool operator==(ParameterType rhs) const { + // TODO: Proper float comparison. % if fields: return % for idx,a in enumerate(fields):