Re: [Boost-bugs] [Boost C++ Libraries] #7363: coordinate_matrix::sort() fails with gcc 4.7

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7363: coordinate_matrix::sort() fails with gcc 4.7
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-18 19:49:15


#7363: coordinate_matrix::sort() fails with gcc 4.7
---------------------------+------------------------------------------------
  Reporter: guwi17 | Owner: guwi17
      Type: Bugs | Status: assigned
 Milestone: Boost 1.52.0 | Component: uBLAS
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords: ublas coordinate_matrix
---------------------------+------------------------------------------------

Comment (by j.ungermann@…):

 I just attached a patch (as anonymous, sorry) hopefully fixing the
 problem.

 Two custom inplace_merge routines were added to coordinate_vector and
 coordinate_matrix that replace the problematic STL version.

 This could be generalized, but this requires an astonishing amount of
 templated code to properly pull of, so this copy-paste version seems
 preferable.

 In addition two new test files were added that exercise the coordinate
 types and check on sortedness of indice and correctness.

 I compiled and executed the tests, so some additional changes are likely
 required to automatically execute them. (I am unfamiliar with the boost
 test system and familiarizing me with that would have create delayed the
 patch).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7363#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC