Previously, the invertto* functions called generate_output_kdes and then invert. But invert also called generate_output_kdes, effectively doing this same computation twice.
Removed generate_output_kdes from the invertto* functions and made minor adjustments so that these functions have access to the other info they need (i.e., number of clusters and the appropriate sample_set_base objects).
Previously, the invertto* functions called generate_output_kdes and then invert. But invert also called generate_output_kdes, effectively doing this same computation twice.
Removed generate_output_kdes from the invertto* functions and made minor adjustments so that these functions have access to the other info they need (i.e., number of clusters and the appropriate sample_set_base objects).