]> https://gitweb.dealii.org/ - dealii.git/commit
Fix compatibility with nanoflann 1.3. 8030/head
authorDavid Wells <drwells@email.unc.edu>
Tue, 7 May 2019 15:49:04 +0000 (11:49 -0400)
committerDavid Wells <drwells@email.unc.edu>
Tue, 7 May 2019 15:51:18 +0000 (11:51 -0400)
commit68b97bef9d8331faba7655adda0b4ff1f761f54b
tree13c09ae2787b9b9768e0753a2a269d31cbc9d7f4
parent10ce620dc5ecbccdfce378b436fe6b7eaad0362a
Fix compatibility with nanoflann 1.3.

It looks like nanoflann switched to doing all computations with squared
distances so all of our tests currently fail with the latest release. This PR
fixes the problem by adding nanoflann version checks (so our interface is the
same).
source/numerics/kdtree.cc
tests/numerics/kdtree_01.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.