Skip to content

Commit

Permalink
fix: more 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 cccf933 commit 5b7c3c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynear/tests/VPTreeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ TEST(VPTests, TestSerialization) {
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);
auto state = tree.serialize();
tree2.deserialize(state);

Expand Down

0 comments on commit 5b7c3c3

Please sign in to comment.