boundary/bear — pull request #6 by jamesc (2012-11-30 21:37:23+00:00)
Title: Fix #5 - harmonic mean throws exception when given a set of zero values

This is the simple fix for this - it defines harmonic_mean to be 0 when the sum of inverses is 0, and avoids the bad_arith exception.