Browse Source

AP_Math: removed assert calls

these waste flash space and do not do us any good
zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
1f60eb68ec
  1. 2
      libraries/AP_Math/AP_GeodesicGrid.cpp

2
libraries/AP_Math/AP_GeodesicGrid.cpp

@ -420,8 +420,6 @@ int AP_GeodesicGrid::_triangle_index(const Vector3f &v, bool inclusive) @@ -420,8 +420,6 @@ int AP_GeodesicGrid::_triangle_index(const Vector3f &v, bool inclusive)
break;
}
assert(umbrella >= 0);
switch (umbrella % 3) {
case 0:
w.z = -w.z;

Loading…
Cancel
Save