Boost C++ Libraries: Ticket #12106: Assertion in envelope() seems to be wrong https://svn.boost.org/trac10/ticket/12106 <p> Hi, </p> <p> the following code stops with an assertion. It seems that the check for the aequator in algorithms/detail/envelope/segment.hpp:compute_box_corners() is not correct. </p> <pre class="wiki">#include &lt;boost/geometry.hpp&gt; #include &lt;iostream&gt; using namespace std; namespace bg = boost::geometry; typedef bg::cs::spherical_equatorial&lt; boost::geometry::degree &gt; cs_type; typedef bg::model::point&lt; double , 2 , cs_type &gt; point_type; typedef bg::model::box&lt; point_type &gt; box_type; typedef bg::model::segment&lt; point_type&gt; segment_type; int main( int argc , char *argv[] ) { auto segment = segment_type { point_type { 11.488323611111111 , 53.687086666666673 } , { 11.488324166666667 , 53.687086666666673 } }; auto box = box_type {}; bg::envelope( segment , box ); return 0; } </pre><p> The problem does not occur in version 1.58 and earlier. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12106 Trac 1.4.3 awulkiew Thu, 14 Apr 2016 16:24:50 GMT status, milestone changed; keywords, resolution set https://svn.boost.org/trac10/ticket/12106#comment:1 https://svn.boost.org/trac10/ticket/12106#comment:1 <ul> <li><strong>keywords</strong> envelope added </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.61.0</span> </li> </ul> <p> Thanks for the report! </p> Ticket