gem/oq-engine — pull request #1140 by matley (2013-04-16 15:56:43+00:00)
Title: Fix Event based mean loss curve computation

We are experiencing a couple of errors while using event based with a whole hazard calculation output set given in input.

The first one is related to the computation of mean loss curves, the second one to the export of loss curves related with a single realization.

This pull request addresses this problem, so it could be considered part of https://bugs.launchpad.net/oq-engine/+bug/1168454