rmjarvis / TreeCorr

Code for efficiently computing 2-point and 3-point correlation functions. For documentation, go to
http://rmjarvis.github.io/TreeCorr/
Other
97 stars 37 forks source link

Bug when using patches and the Rlens metric #131

Closed marina-ricci closed 2 years ago

marina-ricci commented 2 years ago

I found a bug preventing from using patches when using the Rlens metric. When computing cross-correlation (NN or NK) between one catalog with (ra, dec, r) and the other with (ra,dec) I obtain the following error : ValueError: Invalid coords None. No error when using only one patch or no patch.

rmjarvis commented 2 years ago

Fixed on #130. Thanks for the bug report Marina!

rmjarvis commented 2 years ago

The fix for this was released (a while ago now...) in version 4.2.4.