I am experiencing apparently random crashes from the query files in this package. The files compile just fine, but they don't always work.
I randomly get a "Matlab System Error" containing details indicating a segmentation violation on both R2012a and R2013a (Windows 64 bit). My compiler is Visual Studio 10.0
I am employing the kdtree_ball_query within a loop, where every point in the domain is checked. The points in the domain are shifted then checked again. On R2012a, the crash occurs after the same number of point-shifts (making me think it had something to do with the input data), but in R2013a, it crashes immediately.
I have tried the different query functions all with the same result. The kdtree_build function has never caused a crash. I don't know why this is happening, but it's too bad because otherwise this suite of files would be immensely useful!