adeverse / adespatial

Multivariate Multiscale Spatial Analysis
http://adeverse.github.io/adespatial/
32 stars 7 forks source link

Add return statement for LCBD.comp #17

Closed clementviolet closed 3 years ago

clementviolet commented 3 years ago

Hi!

I've notice a strange behavior of the LCBD.comp() function. When I tried LCBD.comp(D) in the terminal I didn't have any returned values.

I figured out that the out object was not evaluated last (maybe due to the else statement). Therefore, it was not returned by the function.

This small PR fix it.

sdray commented 3 years ago

Thanks Clément for correcting the code!