Closed ianporada closed 2 weeks ago
ignore_double_indices counterintuitively ignores double indices when set to False. This is because isinstance(False, int) and False >= 0 evaluate as True. Changing to type(False) is int to fix this behavior.
ignore_double_indices
isinstance(False, int)
False >= 0
type(False) is int
Thank you for your contribution!
Sorry for the delay, I was sick 😷
ignore_double_indices
counterintuitively ignores double indices when set to False. This is becauseisinstance(False, int)
andFalse >= 0
evaluate as True. Changing totype(False) is int
to fix this behavior.