diff --git a/java/source/infodynamics/measures/continuous/kraskov/ConditionalMutualInfoCalculatorMultiVariateKraskov2.java b/java/source/infodynamics/measures/continuous/kraskov/ConditionalMutualInfoCalculatorMultiVariateKraskov2.java index e932b5f..d285a9c 100755 --- a/java/source/infodynamics/measures/continuous/kraskov/ConditionalMutualInfoCalculatorMultiVariateKraskov2.java +++ b/java/source/infodynamics/measures/continuous/kraskov/ConditionalMutualInfoCalculatorMultiVariateKraskov2.java @@ -335,6 +335,7 @@ public class ConditionalMutualInfoCalculatorMultiVariateKraskov2 avNxz /= (double)N; avNyz /= (double)N; avNz /= (double)N; + averageInverseCountInJointXZ /= (double) N; System.out.printf("=%.3f, =%.3f, =%.3f\n", avNxz, avNyz, avNz); System.out.printf("Av = digamma(k)=%.3f + =%.3f - 1/k=%.3f + <1/n_yz>=%.3f = %.3f (<1/n_xz>=%.3f)\n", @@ -459,6 +460,7 @@ public class ConditionalMutualInfoCalculatorMultiVariateKraskov2 avNxz /= (double)N; avNyz /= (double)N; avNz /= (double)N; + averageInverseCountInJointXZ /= (double) N; System.out.printf("=%.3f, =%.3f, =%.3f\n", avNxz, avNyz, avNz); System.out.printf("Av = digamma(k)=%.3f + =%.3f - 1/k=%.3f + <1/n_yz>=%.3f = %.3f (<1/n_xz>=%.3f)\n",