Patches for .fi code to compute correct log-likelihood ds component for
binned data