seismology / mc_kernel

Calculate seismic sensitivity kernels using Axisem
GNU General Public License v3.0
24 stars 8 forks source link

Kdtree algorithm crashes when same heterogeneity points are defined repeatedly #29

Closed auerl closed 8 years ago

auerl commented 9 years ago

Not a big issue, but one may run into this again, when reading .rtpv formatted (spherical coordinates) files where points at the north or south poles are redundant in cartesian coordinates.

sstaehler commented 9 years ago

You could add a meaningful error message to the code in this case.

sstaehler commented 9 years ago

@auerl: Did you add that meaningful error message?