gem/OpenSHA — pull request #9 by angri (2011-10-20 13:33:18+00:00)
Title: Fixed casting float to int in incrementMagUpper() and setMagUpper()

Recalculation of the number of bins in GR MFD sometimes was lower than it should be by 1 because of improper casting of float value to an integer (it was truncating the fractional part instead of rounding).