Taking into account the magdist
Taking into account the magdist


Former-commit-id: 8fe3d681760fe82a206e3ecf57c4c38da4eaaaac [formerly b8aca209264712fb350b649ba304624899a40a78]
Former-commit-id: 0218e02172bfbd2896059bdbcbd8562939a39233
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine