filterpy icon indicating copy to clipboard operation
filterpy copied to clipboard

DeprecationWarning: invalid escape sequence '\S'

Open rnestler opened this issue 1 year ago • 0 comments

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".

rnestler avatar Jan 26 '24 11:01 rnestler