Boost logo

Ublas :

Subject: Re: [ublas] Is coordinate_matrix element assignment/insertion broken in 1.42?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-02-26 10:34:37


Jesse Perla wrote:
>
> Uh oh.... Thanks for looking at this Rutger. I am attaching a test case
> to make sure that we are talking apples and apples.
>

$ g++ test.cpp
$ valgrind ./a.out
==11052== Memcheck, a memory error detector
==11052== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==11052== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for
copyright info
==11052== Command: ./a.out
==11052==
[3,3]((0.1,1.1,0),(0,2.1,0),(0,0,4.1))
0,0,1,2,
0,1,1,2,
0.1,1.1,2.1,4.1,
==11052==
==11052== HEAP SUMMARY:
==11052== in use at exit: 0 bytes in 0 blocks
==11052== total heap usage: 8 allocs, 8 frees, 1,128 bytes allocated
==11052==
==11052== All heap blocks were freed -- no leaks are possible
==11052==
==11052== For counts of detected and suppressed errors, rerun with: -v
==11052== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)