Closed zhivkob closed 3 years ago
@zhivkob Thank you for reporting the problem and fixing it. I've done the fixes based on your work here: https://github.com/artem-ogre/CDT/tree/bugfix/fix-initialize-with-grid
Could you please replace your commit with the commit from that branch 7a0b057 (it that's fine with you) and I will merge the request. I will probably make a new release right after.
Nevermind, I re-based my fixes on top of your branch. Here's a PR: #48
New release is up . Thank you again!
@artem-ogre Hi, not a problem. I would still strongly suggest to move the result into the vector to avoid the unnecessary copies (1 vector copy per grid cell) on line #88.
Yes, I know. The reason I removed std::move
is c++98 support in CDT. I don't think it should make a significant performance difference anyway. I could ifdef
it though: ugly but portable.
@zhivkob 8f1b434
After changes from pull request #45 initialization with a grid no longer worked because the file didn't compile.