mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-27 02:04:00 -04:00
AP_Math: removed assert calls
these waste flash space and do not do us any good
This commit is contained in:
parent
dcf6bcea6e
commit
1f60eb68ec
@ -420,8 +420,6 @@ int AP_GeodesicGrid::_triangle_index(const Vector3f &v, bool inclusive)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(umbrella >= 0);
|
|
||||||
|
|
||||||
switch (umbrella % 3) {
|
switch (umbrella % 3) {
|
||||||
case 0:
|
case 0:
|
||||||
w.z = -w.z;
|
w.z = -w.z;
|
||||||
|
Loading…
Reference in New Issue
Block a user