db/schema/functions:
db/schema/functions:

Cleaned up the `finalize_hazard_curves` function and change the implementation
slightly. It works now. =)


Former-commit-id: a7f6c05c7680bab9b0b4c9384451bace2cc88d2d
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine