Set error attribute when b=0.
Fall back to nbytes from self.matrix.data.