[Paraview] PV and the STL: memory allocation issue

Paul Edwards paul.m.edwards at gmail.com
Fri Sep 18 07:40:36 EDT 2009


Fred,

If you are overwriting memory then it will produce different results and,
even though it is not crashing in your VTK example, I would not say that it
"works well"!

You really need to post the *actual* code or a testcase (whole piece of code
- not snippets) that can reproduce the problem.

Regards,
Paul

PS One thing you could check from your snippet of code you sent is:

    assert(*it < this->grid.size());

before calling

    this->grid[*it].push_back(pt2D);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090918/5050e052/attachment.htm>


More information about the ParaView mailing list