We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e1d5e8 commit af8d567Copy full SHA for af8d567
plugins/ros1_parsers/ros1_parser.cpp
@@ -64,7 +64,7 @@ bool IntrospectionParser::parseMessage(MessageRef serialized_msg, double timesta
64
65
auto& series = getSeries(key);
66
67
- if (!std::isnan(value) && !std::isinf(value))
+ if (!std::isnan(static_cast<double>(value)) && !std::isinf(value))
68
{
69
series.pushBack({ timestamp, value });
70
}
0 commit comments