]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/strategy/spherical/envelope_segment.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / geometry / strategy / spherical / envelope_segment.hpp
index fd6e9865b3622c5f93f5d132092c3ba5a6041b00..428f0f71a72e271f8371838e8f3b67882404a8ff 100644 (file)
@@ -125,7 +125,6 @@ private:
                                         CalculationType const& a2)
     {
         // azimuths a1 and a2 are assumed to be in radians
-        BOOST_GEOMETRY_ASSERT(! math::equals(a1, a2));
 
         static CalculationType const pi_half = math::half_pi<CalculationType>();
 
@@ -164,12 +163,6 @@ private:
         CalculationType lat1_rad = math::as_radian<Units>(lat1);
         CalculationType lat2_rad = math::as_radian<Units>(lat2);
 
-        if (math::equals(a1, a2))
-        {
-            // the segment must lie on the equator or is very short or is meridian
-            return;
-        }
-
         if (lat1 > lat2)
         {
             std::swap(lat1, lat2);