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

DeprecationWarning: invalid escape sequence '\S' #300

Open
rnestler opened this issue Jan 26, 2024 · 0 comments
Open

DeprecationWarning: invalid escape sequence '\S' #300

rnestler opened this issue Jan 26, 2024 · 0 comments

Comments

@rnestler
Copy link

I get a DeprecationWarning from filterpy/common/helpers.py:364

filterpy/common/helpers.py:364: DeprecationWarning: invalid escape sequence '\S'

It results from the invalid escape sequence in a docstring:

    """
    Computes the sum of the outer products of the rows in A and B

        P = \Sum {A[i] B[i].T} for i in 0..N
        ...
    """

I guess this is already fixed on master, since there it's using a raw docustring (r""")? But an easier fix would probably be to use "\Sum".

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