Open jkuck opened 2 years ago
I've submitted a pull request to fix this problem here: https://github.com/alandefreitas/pareto/pull/7
Oh! I missed that free()
when refactoring the code.
Since I'm pretty sure the original algorithm in http://lopez-ibanez.eu/hypervolume in not actively maintained, I should probably just refactor the whole thing to real C++ at some point.
No worries, I really appreciate all the functionality that you've built :)
Hi Alan, I'm making a call to
pareto::front.hypervolume()
and found that this call leaks memory. When running through valgrind, this is the error that I'm getting:And the final valgrind ouput looks like this:
Do you have any ideas for fixing this problem? Thanks!