Skip to content

Commit 0b7b1dd

Browse files
delete dead code
1 parent 8bde9d8 commit 0b7b1dd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/cr/cube/matrix/subtotals.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,6 @@ def _subtotal_column(self, subtotal, default):
491491
counts_subtrahend_sum / base_subtrahend_sum
492492
)
493493

494-
if self._diff_cols_nan and len(subtotal.subtrahend_idxs) > 0:
495-
return self._nan_subtotals(axis=0)
496-
497494
return default
498495

499496
def _subtotal_row(self, subtotal, default):
@@ -518,9 +515,6 @@ def _subtotal_row(self, subtotal, default):
518515
counts_subtrahend_sum / base_subtrahend_sum
519516
)
520517

521-
if self._diff_rows_nan and len(subtotal.subtrahend_idxs) > 0:
522-
return self._nan_subtotals(axis=1)
523-
524518
return default
525519

526520
def _multiple_subtrahends_or_addends(self, subtotal):

0 commit comments

Comments
 (0)