add logsumexp over scalars