{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/annoy/issues/50","labels_url":"https://api.github.com/repos/spotify/annoy/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/spotify/annoy/issues/50/comments","events_url":"https://api.github.com/repos/spotify/annoy/issues/50/events","html_url":"https://github.com/spotify/annoy/pull/50","id":71951036,"number":50,"title":"Boost dependences is removed","user":{"login":"dvenum","id":7122951,"avatar_url":"https://avatars.githubusercontent.com/u/7122951?v=3","gravatar_id":"","url":"https://api.github.com/users/dvenum","html_url":"https://github.com/dvenum","followers_url":"https://api.github.com/users/dvenum/followers","following_url":"https://api.github.com/users/dvenum/following{/other_user}","gists_url":"https://api.github.com/users/dvenum/gists{/gist_id}","starred_url":"https://api.github.com/users/dvenum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvenum/subscriptions","organizations_url":"https://api.github.com/users/dvenum/orgs","repos_url":"https://api.github.com/users/dvenum/repos","events_url":"https://api.github.com/users/dvenum/events{/privacy}","received_events_url":"https://api.github.com/users/dvenum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-04-29T18:26:40Z","updated_at":"2015-04-30T00:02:52Z","closed_at":"2015-04-29T23:44:51Z","pull_request":{"url":"https://api.github.com/repos/spotify/annoy/pulls/50","html_url":"https://github.com/spotify/annoy/pull/50","diff_url":"https://github.com/spotify/annoy/pull/50.diff","patch_url":"https://github.com/spotify/annoy/pull/50.patch"},"body":"1. I added -std=c++11 flag for std::rand support. Tell me, if it matter.\r\n\r\n2. EuclideanIndexTest::test_get_nns_by_vector failed, see below. It's in reverse order, but AngularIndexTest::, passed ok. I don't know, how I can receive [1,0], if it include sort call before return.\r\nannoylib.h:\r\n537     sort(nns_dist.begin(), nns_dist.end());\r\n538     for (size_t i = 0; i < nns_dist.size() && result->size() < n; i++) {\r\n539       result->push_back(nns_dist[i].second);\r\n540     }\r\n\r\nFAIL: test_get_nns_by_vector (annoy_test.EuclideanIndexTest)\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/dvenum/devl/annoy/test/annoy_test.py\", line 112, in test_get_nns_by_vector\r\n    self.assertEqual(i.get_nns_by_vector([3,3], 2), [1, 0])\r\nAssertionError: Lists differ: [0, 1] != [1, 0]\r\nFirst differing element 0:\r\n0\r\n1\r\n<div>\r\n-  [0, 1] <br/>\r\n+  [1, 0] <br/>\r\n<br/>\r\n3. If I right, valgrin have clear output, only usually python message. It seems to true, because a small new memory management was delegated to python.\r\n</div>"},"comment":{"url":"https://api.github.com/repos/spotify/annoy/issues/comments/97617569","html_url":"https://github.com/spotify/annoy/pull/50#issuecomment-97617569","issue_url":"https://api.github.com/repos/spotify/annoy/issues/50","id":97617569,"user":{"login":"erikbern","id":1027979,"avatar_url":"https://avatars.githubusercontent.com/u/1027979?v=3","gravatar_id":"","url":"https://api.github.com/users/erikbern","html_url":"https://github.com/erikbern","followers_url":"https://api.github.com/users/erikbern/followers","following_url":"https://api.github.com/users/erikbern/following{/other_user}","gists_url":"https://api.github.com/users/erikbern/gists{/gist_id}","starred_url":"https://api.github.com/users/erikbern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikbern/subscriptions","organizations_url":"https://api.github.com/users/erikbern/orgs","repos_url":"https://api.github.com/users/erikbern/repos","events_url":"https://api.github.com/users/erikbern/events{/privacy}","received_events_url":"https://api.github.com/users/erikbern/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T00:02:52Z","updated_at":"2015-04-30T00:02:52Z","body":"It was pretty easy: https://github.com/spotify/annoy/pull/52"}}