This should be a call to `logsumexp` as provided by the `NumericExtensions` package.