

def test_should_output_single_float_continuous(self):
    kl = qtu.KL_divergence(ccmext.p_ContinuousComponentModel, self.params_cont, kl.weights_cont, self.M_c_cont, self.X_L_cont, self.X_D_cont, n_samples=1000)
    assert isinstance(kl, float)
    assert (kl >= 0.0)

dataset/ETHPy150Open probcomp/crosscat/src/tests/unit_tests/test_quality_test_utils.py TestKLDivergence.test_should_output_single_float_continuous/VarMisuse@24/43 `self`->`kl`