Skip to content

Commit 1406c09

Browse files
committed
fix_holonomic caching error
1 parent 226b942 commit 1406c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sympy/holonomic/holonomic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2807,7 +2807,7 @@ def _shift(func, s):
28072807
a = d[b]
28082808

28092809
t = b.as_base_exp()
2810-
b = t[1] if t[0] is x else S.Zero
2810+
b = t[1] if t[0] == x else S.Zero
28112811
r = s / b
28122812
an = (i + r for i in func.args[0][0])
28132813
ap = (i + r for i in func.args[0][1])

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy