added check for loss fractions
added check for loss fractions


Former-commit-id: 6eaad5095916222a1833bc8a43e4c3741f47b05c [formerly 6eaad5095916222a1833bc8a43e4c3741f47b05c [formerly 16203f0febfaa0581b32bb30b88d1d48c6e0204c]]
Former-commit-id: 64fc81e8224a35a1d93562b2dc4a7bd715ca28af
Former-commit-id: 3e75f187ecde2f3544e336220376cd2ae70f1ee4
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine