#2195 closed Bugs (fixed)
[uBlas] compressed_matrix::erase_element() segfaults
Reported by: | Owned by: | Gunter | |
---|---|---|---|
Milestone: | Boost 1.41.0 | Component: | uBLAS |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | compressed_matrix erase_element | Cc: |
Description
The following example segfaults, system is GCC 3.4.4 on Cygwin, Boost 1.35.0.
compressed_matrix<int> m(2,2); m(0,0) = 1; m.erase_element(1,0);
The problem is that inside erase_element std::lower_bound oddly returns it_begin, even though simple
while(*itt < elem2) ++itt;
returns it_begin+2.
Attachments (1)
Change History (7)
comment:1 by , 14 years ago
Milestone: | Boost 1.35.1 |
---|
comment:2 by , 13 years ago
Milestone: | → Boost 1.40.0 |
---|---|
Status: | new → assigned |
Version: | Boost 1.35.0 → Boost Development Trunk |
bug still exists with gcc version 4.3.2 (Debian 4.3.2-1.1)
comment:3 by , 13 years ago
comment:4 by , 13 years ago
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Milestone Boost 1.35.1 deleted