Skip to content

Conversation

bjodah
Copy link
Contributor

@bjodah bjodah commented Jul 11, 2025

Fixes gh-516

@bjodah bjodah force-pushed the dummy_index branch 2 times, most recently from c24387d to ae97832 Compare July 23, 2025 08:22
import sympy
from sympy.core.function import AppliedUndef as sympy_AppliedUndef
if isinstance(a, sympy.Symbol):
if isinstance(a, sympy.Dummy):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since Dummy is a subclass of Symbol, we need to check for it first.

@bjodah
Copy link
Contributor Author

bjodah commented Jul 23, 2025

Tests pass (excluding AppVeyor which we should fix separately). This is ready for review.

@bjodah bjodah requested a review from isuruf August 4, 2025 21:30
@bjodah
Copy link
Contributor Author

bjodah commented Aug 4, 2025

whenever you feel you have the time for this one @isuruf, no stress.

@bjodah bjodah merged commit 0b5d49e into symengine:master Aug 4, 2025
19 of 20 checks passed
@bjodah
Copy link
Contributor Author

bjodah commented Aug 4, 2025

Thanks!

@bjodah bjodah deleted the dummy_index branch August 4, 2025 21:56
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.

Inconsistencies between sympy.Dummy and symengine.Dummy
2 participants