mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 01:13:35 +08:00
define FLT_EPSILON; be descriptive about upper_right_triangle() method
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
|
||||
namespace matrix {
|
||||
|
||||
#if !defined(FLT_EPSILON)
|
||||
#define FLT_EPSILON __FLT_EPSILON__
|
||||
#endif
|
||||
|
||||
#if defined(__PX4_NUTTX)
|
||||
/*
|
||||
* NuttX has no usable C++ math library, so we need to provide the needed definitions here manually.
|
||||
|
||||
Reference in New Issue
Block a user