Skip to content

Comments

enable a few doctests#532

Merged
ChrisRackauckas merged 13 commits intomasterfrom
doctests
Jun 28, 2022
Merged

enable a few doctests#532
ChrisRackauckas merged 13 commits intomasterfrom
doctests

Conversation

@ChrisRackauckas
Copy link
Member

No description provided.

@ChrisRackauckas ChrisRackauckas force-pushed the doctests branch 3 times, most recently from c54afb4 to 9f423ae Compare June 27, 2022 19:45
@ChrisRackauckas ChrisRackauckas merged commit 70bc060 into master Jun 28, 2022
@ChrisRackauckas ChrisRackauckas deleted the doctests branch June 28, 2022 19:21
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/NeuralPDE.jl that referenced this pull request Jan 26, 2026
Zygote 0.7.10 triggers a typo bug in Julia's base/meta.jl (line 412)
where `spvals` is used instead of `static_param_values`. This causes
an "UndefVarError: `spvals` not defined in Base.Meta" error when
differentiating through @cfunction with type parameters.

The bug is triggered when NeuralPDE uses QuadratureTraining with Cubature.jl,
which uses @cfunction with type parameters in its integration routines.

This PR caps Zygote to 0.6.71 and 0.7.0-0.7.9 to avoid the buggy version.

Related PRs to relax Zygote constraints in upstream packages:
- SciMLBase.jl PR #1220 (merged)
- RecursiveArrayTools.jl PR SciML#532 (pending)

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
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.

1 participant