Fix voloctree mapper - #67
Conversation
|
Changes to the .gitignore file doesn't belong to this pull request. Mapping info can be large, can we avoid making the copy? Something along the lines with (not tested): |
cec1db5 to
4772193
Compare
|
Your proposal is not aligned with the code; erasing a whole info item is not an option here. |
|
I don't fully understand the updated code; I don't see were the iterators are updated when you are deleting an entry. I would expect something like the following: Anyways, I haven't look at what the code does except for the small portion changed by the patch, so if your code is tested and works that's fine with me. Also, if you are deleting single entries in a vector, you original code my be faster (I thought you were deleting the whole vectors). |
|
Ah, you're right, thanks. I'm pushing the fixed version. |
4772193 to
a9712e3
Compare
a9712e3 to
52b1fc7
Compare
andrea-iob
left a comment
There was a problem hiding this comment.
I've split the changes in two commits and updated the coding style. I will merge as soon as the tests finish.
Fix inverse mapping re-communication