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

fix python 3.10 compilation #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Thomas-Ulrich
Copy link

@Thomas-Ulrich Thomas-Ulrich commented Apr 22, 2024

  • allow compiling with python 3.10.
  • fix cython error:
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                      min_p2 = p2[bttm - 1]
                  p = findp0(distance, min_p2**0.5,
                             topp, bttm, ray_len, p2)
                  if min_p2 > p2[bttm]:
                      min_p2 = p2[bttm]
                  if p > min_p2**0.5:
                       ^
      ------------------------------------------------------------
      
      pyfk/taup/taup.pyx:60:17: complex types are unordered
  • add channel info when generating obspy traces with calculate_sync

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

Successfully merging this pull request may close these issues.

None yet

1 participant