tataratat / napf

nanoflann wrapper for python and maybe fortran
https://tataratat.github.io/napf/
MIT License
4 stars 2 forks source link

Get Rid of warnings and applied formatting #6

Closed jzwar closed 1 year ago

jzwar commented 1 year ago

There were some minor changes and I used the opportunity to apply formatting.

j042 commented 1 year ago

thank you! out of curiosity, can you mark what's the warning fix?

jzwar commented 1 year ago

thank you! out of curiosity, can you mark what's the warning fix?

There were two very minor fixes: old file napf.hpp l. 119 -> function returns by value not by reference, i.e. it makes no sense to return as const old file napf.hpp l. 177 -> unnecessary semi-colon as which is just an emtpy statement