PICARD-630: linear_combination_of_weights() raises division by zero exception

It shouldn't happen so log a debug message with enough information to see what it is going.