Functions which are equal almost everywhere are indistinguishable as far as integration is concerned.