Fixed invalid magnitude error
Fixed invalid magnitude error


Former-commit-id: 7337024171ca0f322ce01850375be02df8f253c0 [formerly 7337024171ca0f322ce01850375be02df8f253c0 [formerly 6ddd912c412414dd7197d160c91678dbe2e4ab68]]
Former-commit-id: 879b4ff143a89590faf27aa65e581cd6da1c4063
Former-commit-id: eea666e5954d3d02fba894167e52860a42793aa6
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine