From 341210e5bb4edd5a948d9d0835109d18b85ea0b0 Mon Sep 17 00:00:00 2001 From: Dhyey Mavani <82772894+DhyeyMavani2003@users.noreply.github.com> Date: Sun, 26 Jan 2025 19:59:05 -0500 Subject: [PATCH] Comment-out unused code for idx_arrays in GenericCheckerboardCopula to satisfy lint ruff requirements. --- discopula/checkerboard/gencopula.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discopula/checkerboard/gencopula.py b/discopula/checkerboard/gencopula.py index 4f59799..d28b4ad 100644 --- a/discopula/checkerboard/gencopula.py +++ b/discopula/checkerboard/gencopula.py @@ -181,7 +181,7 @@ def calculate_CCRAM(self, from_axes, to_axis, is_scaled=False): joint_prob = np.prod(mesh, axis=0) # Calculate regression values for each combination - idx_arrays = [range(self.P.shape[axis]) for axis in from_axes] + # idx_arrays = [range(self.P.shape[axis]) for axis in from_axes] weighted_expectation = 0.0 for idx in np.ndindex(*[len(p) for p in probs]):