(self)
| 486 | ) |
| 487 | |
| 488 | def __bool__(self): |
| 489 | raise ValueError( |
| 490 | f"The truth value of a {self.__class__.__name__} is ambiguous. " |
| 491 | "Use a.any() or a.all()." |
| 492 | ) |
| 493 | |
| 494 | def __array__(self, dtype=None, **kwargs): |
| 495 | return np.array(self.compute()) |
nothing calls this directly
no outgoing calls
no test coverage detected