mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 00:23:33 +08:00
Fixed coverage issues.
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
|
||||
namespace matrix
|
||||
{
|
||||
|
||||
template<typename Type>
|
||||
float wrap_pi(Type x)
|
||||
Type wrap_pi(Type x)
|
||||
{
|
||||
if (!isfinite(x)) {
|
||||
return x;
|
||||
@@ -27,4 +28,4 @@ float wrap_pi(Type x)
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user