Skip to content

Commit 40a5b20

Browse files
Fix Vararg syntax error for Julia 1.12 compatibility
Replace @variables ∫(.., ..) with SymbolicUtils.@syms ∫(::Any, ::Any)::Real The original syntax @variables ∫(.., ..) caused a TypeError in Julia 1.12: "TypeError: in Tuple, in non-final parameter, expected Type, got Vararg" This was preventing package registration for v3.2.0. The new syntax uses SymbolicUtils.@syms which is compatible with Julia 1.12 and correctly defines the unevaluated integral symbol as a function taking two arguments. Fixes package loading error at src/methods/risch/frontend.jl:728 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3085081 commit 40a5b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/methods/risch/frontend.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ function TowerOfDifferentialFields(terms::Vector{Term}) where
725725
end
726726

727727

728-
@variables (.., ..)
728+
SymbolicUtils.@syms (::Any, ::Any)::Real
729729

730730
"""
731731
integrate(f, x; kwargs...)

0 commit comments

Comments
 (0)