Why don't you import log1p here?