FIX: Raise ValueError for invalid precompute