gem/oq-risklib — pull request #25 by matley (2012-12-27 14:21:58+00:00)
Title: Event based fix (constant loss curve)

The current implementation of the event based calculator does not work when the input is given by a set of constant loss values. This corner case is frequent in computing of insured loss curves.

It also refactors (a bit) the vulnerabilityfunction class, where we have removed the need of range clip that was actually useless (the clients of that class always manage the out of bound values in a different manner).