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 deprecation warnings #209

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

king-p3nguin
Copy link
Contributor

Fixed following deprecation warnings:

quimb/linalg/approx_spectral.py:11
  /home/runner/work/quimb/quimb/quimb/linalg/approx_spectral.py:11: DeprecationWarning: Please use `uniform_filter1d` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.
    from scipy.ndimage.filters import uniform_filter1d
quimb/tensor/tensor_builder.py:824
  /home/runner/work/quimb/quimb/quimb/tensor/tensor_builder.py:824: DeprecationWarning: invalid escape sequence '\s'
    """Construct a CP form hyper tensor network of the sum of matrix strings:

@jcmgray
Copy link
Owner

jcmgray commented Nov 7, 2023

Thanks! LGTM (test failures are unrelated).

@jcmgray jcmgray merged commit 4215ae2 into jcmgray:main Nov 7, 2023
11 of 17 checks passed
@king-p3nguin king-p3nguin deleted the pr-fix-dep-warn branch February 18, 2024 16:38
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.

2 participants