mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 14:43:34 +08:00
Remove references to pow(x,0.5), use sqrt instead (#12928)
* Remove references to pow(x,0.5), use sqrt instead * Update matrix library
This commit is contained in:
@@ -89,7 +89,7 @@ public:
|
||||
}
|
||||
matrix::Vector<Type, M> getStdDev()
|
||||
{
|
||||
return getVar().pow(0.5f);
|
||||
return getVar().sqrt();
|
||||
}
|
||||
private:
|
||||
// attributes
|
||||
|
||||
+1
-1
Submodule src/lib/matrix updated: 22bf63cb71...15865b741c
Reference in New Issue
Block a user