Re: [Boost-bugs] [Boost C++ Libraries] #7655: signed/unsigned mismatch warning in inplace_solver

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7655: signed/unsigned mismatch warning in inplace_solver
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-13 22:41:43


#7655: signed/unsigned mismatch warning in inplace_solver
-------------------------------+--------------------------------------------
  Reporter: tobias.loew | Owner: guwi17
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: uBLAS
   Version: Boost 1.52.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by Kenneth Porter <shiva+boost@…>):

 The code is comparing a difference_type to a size_type. A brief inspection
 of the code suggests that the difference_type value can go negative, so
 casting the size_type to difference_type should be correct.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7655#comment:1>
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:12 UTC