Issue with units in np.log() #2977