Skip to content

Commit

Permalink
Comment-out unused code for idx_arrays in GenericCheckerboardCopula t…
Browse files Browse the repository at this point in the history
…o satisfy lint ruff requirements.
  • Loading branch information
DhyeyMavani2003 committed Jan 27, 2025
1 parent 4e1417d commit 341210e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discopula/checkerboard/gencopula.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]):
Expand Down

0 comments on commit 341210e

Please sign in to comment.