Skip to content
Snippets Groups Projects
Commit f13a4273 authored by Kor Begeman's avatar Kor Begeman
Browse files

Increase of buffer since more than 12 neighbours might ber returned

parent 1dbc0621
Branches
No related merge requests found
......@@ -455,7 +455,7 @@ htm_list get_nearest_indices( unsigned long long id, int depth )
htm = new htmInterface(depth);
}
htm_list r;
static unsigned long long idx[13];
static unsigned long long idx[1300];
r.n = 13;
r.idx = idx;
SpatialVector v1, v2, v3;
......@@ -476,6 +476,7 @@ htm_list get_nearest_indices( unsigned long long id, int depth )
}
htm_list rr = get_circle_indices( depth, depth, 1, ra0, dec0, 1.01 * md );
for ( k = 0; k < rr.n; k++ ) idx[k] = rr.idx[k];
r.n = rr.n;
#else
int k;
int j = 0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment