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

Fix: Resolve head ambiguity and prevent UndefVarError and precompilation failure #1178

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

bowenszhu
Copy link
Member

@bowenszhu bowenszhu commented Jun 24, 2024

This pull request addresses an error encountered due to the ambiguity of the head function. Both the DataStructures and TermInterface packages export head, leading to a warning, ultimately an UndefVarError within the Symbolics module and the precompilation failure in ModelingToolkit integration test CI https://github.com/JuliaSymbolics/SymbolicUtils.jl/actions/runs/9640298551/job/26583838382?pr=615#step:6:8987 in PR JuliaSymbolics/SymbolicUtils.jl#615.

To resolve this, an instance of head(O) within Symbolics.jl has been replaced with TermInterface.head(O).

@bowenszhu bowenszhu force-pushed the b/modelingtoolkit-precompile-head branch from c743def to 0d68316 Compare June 24, 2024 20:12
@bowenszhu bowenszhu removed the request for review from ChrisRackauckas June 24, 2024 21:20
@bowenszhu bowenszhu merged commit fa83aa4 into master Jun 24, 2024
11 of 12 checks passed
@bowenszhu bowenszhu deleted the b/modelingtoolkit-precompile-head branch June 24, 2024 21:20
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.

None yet

1 participant