Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2D execution failing with scipy==1.10.0 #62

Open
jaimesouza opened this issue Jan 12, 2023 · 0 comments
Open

2D execution failing with scipy==1.10.0 #62

jaimesouza opened this issue Jan 12, 2023 · 0 comments

Comments

@jaimesouza
Copy link
Collaborator

jaimesouza commented Jan 12, 2023

$ python3 gradient_2D.py 

Traceback (most recent call last):
  File "gradient_2D.py", line 199, in <module>
    recv_true = calculate_true_seimogram(velocity_model=tru_vel)
  File "gradient_2D.py", line 130, in calculate_true_seimogram
    solver = create_solver(saving_stride=0, velocity_model=velocity_model)
  File "gradient_2D.py", line 64, in create_solver
    space_model = SpaceModel(
  File "/home/jaime/simwave-research/simwave/kernel/frontend/model.py", line 57, in __init__
    self._velocity_model = self.interpolate(velocity_model)
  File "/home/jaime/simwave-research/simwave/kernel/frontend/model.py", line 242, in interpolate
    return self.dtype(interpolant((Z, X)))
  File "/usr/local/lib/python3.8/dist-packages/scipy/interpolate/_rgi.py", line 336, in __call__
    result = evaluate_linear_2d(self.values,
  File "_rgi_cython.pyx", line 19, in scipy.interpolate._rgi_cython.__pyx_fused_cpdef
TypeError: No matching signature found

It works with scipy==1.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant