Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-07-18 23:05:35


On Jul 17, 2004, at 3:26 AM, Guillaume Melquiond wrote:

> Hi,
>
> Line 567 of adjacency_matrix.hpp is:
>
> typename Graph::MatrixIter l = g.m_matrix.end() + u;
>
> Obviously l is an iterator past the end. Looking at the algorithm, it
> seems to me it shouldn't be g.m_matrix.end() but f. So here comes a
> patch.

This patch breaks adjacency_matrix_test... I didn't look closely enough
to determine what went wrong, but line 171 does the return.
        
        Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk