Fixed portfolio_loss [skip hazardlib][demos]
Fixed portfolio_loss [skip hazardlib][demos]


Former-commit-id: 0b920b116b455027eefe632eee1825fb6bb1f05c [formerly 5dc2b9b5d94231563b450419cdab0346bfd1fc9a]
Former-commit-id: a54d01d006561ebc4792046217d4b76587b90c7e
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine