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);
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to