Skip to content

Commit

Permalink
fix missing variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
sturlamolden committed May 8, 2024
1 parent 7bc7253 commit b2d2ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/spatial/ckdtree/src/build.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ int build_ckdtree(ckdtree *self, ckdtree_intp_t start_idx, intptr_t end_idx,
{
std::vector<bool> taboo(self->m);
for (intptr_t i=0; i<self->m; ++i) taboo[i] = false;
taboo_depth = 0;
intptr_t taboo_depth = 0;

build(self, start_idx, end_idx, maxes, mins, _median, _compact, taboo, taboo_depth);
return 0;
Expand Down

0 comments on commit b2d2ef7

Please sign in to comment.