Check that the inputs are contiguous.