avoiding this in unnecessary cases (t distribution, ...), add in front of this part

```
if np.isneginf(self.a).all() and np.isinf(self.b).all(): 
```
or something like this

Or maybe this is already handled somewhere else?