On Mon, Jul 21, 2025 at 7:58 PM Chris Smith <smi...@gmail.com> wrote: > +self.occurrence_count
This line is presumably a typo. I'm not sure what your code is doing but perhaps it's related to the fact that it causes _unit_prop() to be run multiple times in _simplify() due to the way the while loop works. Aaron Meurer -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6LfN1JbhYu%2Bod72Le1-5NFLcCJZ5nAH565CXYf6WTNcrg%40mail.gmail.com.