Subject: [Boost-bugs] [Boost C++ Libraries] #2891: BOOST_UBLAS_CHECK checking the wrong variable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-27 09:00:49
#2891: BOOST_UBLAS_CHECK checking the wrong variable
-------------------------------------------+--------------------------------
Reporter: boost_bugs_at_[hidden] | Owner: guwi17
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: uBLAS
Version: Boost Development Trunk | Severity: Problem
Keywords: BOOST_UBLAS_CHECK |
-------------------------------------------+--------------------------------
2 resize() member functions in
storage.h: bounded_array
call BOOST_UBLAS_CHECK with size_ (private attribute) instead of size
(function input variable). This seems to have happened from a direct copy
paste from the constructor above (where size_ and size have the same value
at this point).
The patch is trivial (delete the 2 "_")
Thank you for the great software,
Ricardo
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2891> 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:49:59 UTC