-
Notifications
You must be signed in to change notification settings - Fork 299
Open
Milestone
Description
@raoanirudh was able to reproduce the error
File "/opt/openquake/oq-engine/openquake/risklib/scientific.py", line 259, in init
self._mlr_i1d = interpolate.interp1d(self.imls, self.mean_loss_ratios,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/openquake/venv/lib64/python3.11/site-packages/scipy/interpolate/_interpolate.py", line 494, in __init__
_Interpolator1D.__init__(self, x, y, axis=axis)
File "/opt/openquake/venv/lib64/python3.11/site-packages/scipy/interpolate/_polyint.py", line 56, in __init__
self._set_yi(yi, xi=xi, axis=axis)
File "/opt/openquake/venv/lib64/python3.11/site-packages/scipy/interpolate/_polyint.py", line 129, in _set_yi
self._y_axis = (axis % yi.ndim)
~~~~~^~~~~~~~~
ZeroDivisionError: integer modulo by zero
See the files in cole:/home/arao/debug/202510/lisa/
Metadata
Metadata
Assignees
Labels
No labels