Skip to content

Commit

Permalink
fix: added compiler fixes for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Elias committed Sep 1, 2023
1 parent 2cfa78a commit cccf933
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pynear/src/PythonBindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <DistanceFunctions.hpp>
#include <ISerializable.hpp>
#include <SerializableVPTree.hpp>
#include <BuiltinSerializers.hpp>

namespace py = pybind11;

Expand Down
4 changes: 2 additions & 2 deletions pynear/tests/VPTreeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ TEST(VPTests, TestCopySerializableVPTree) {
point[2] = distribution(generator);
}

SerializableVPTree<std::vector<float>, float, distanceVector3, vptree::ndarraySerializer, vptree::ndarrayDeserializer> tree2;
SerializableVPTree<std::vector<float>, float, distanceVector3, vptree::ndarraySerializer, vptree::ndarrayDeserializer> tree(points);
SerializableVPTree<std::vector<float>, float, distanceVector3, vptree::ndarraySerializer<float>, vptree::ndarrayDeserializer<float>> tree2;
SerializableVPTree<std::vector<float>, float, distanceVector3, vptree::ndarraySerializer<float>, vptree::ndarrayDeserializer<float>> tree(points);
tree2 = tree;

std::vector<std::vector<float>> queries;
Expand Down

0 comments on commit cccf933

Please sign in to comment.