Ah, right.  Good idea to keep this exception in, since calling `compute()` with a bogus partition would be a serious bug.