Skip to content

Commit c8e79e1

Browse files
ChrisRackauckas-ClaudeChrisRackauckasclaude
authored
Fix v7 build: use DEFAULT_VERBOSE instead of Bool in solve/init defaults (#3448)
The v7 rebase onto master re-introduced `verbose = true` (Bool) as the default in DiffEqBase's `init` and `solve` entrypoints. But v7's `_process_verbose_param(::Bool)` throws an `ArgumentError` (added by f73c2f5 to enforce the v7 breaking change to DEVerbosity). Every `solve(prob, alg)` call — including precompile workloads — hits this throw, failing the `build` step and cascading to all 160+ sublibrary and integration tests. Replace `verbose = true` with `verbose = DEFAULT_VERBOSE` in both function signatures. `DEFAULT_VERBOSE` is `DEVerbosity()` (the Standard preset), which is the v7-native equivalent of `verbose = true`. Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent edb51ea commit c8e79e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/DiffEqBase/src/solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ end
9090

9191
Base.@constprop :aggressive function init(
9292
prob::AbstractDEProblem, args...; sensealg = nothing,
93-
u0 = nothing, p = nothing, verbose = true, kwargs...
93+
u0 = nothing, p = nothing, verbose = DEFAULT_VERBOSE, kwargs...
9494
)
9595
if sensealg === nothing && has_kwargs(prob) && haskey(prob.kwargs, :sensealg)
9696
sensealg = prob.kwargs[:sensealg]
@@ -590,7 +590,7 @@ the extension to other types is straightforward.
590590
"""
591591
Base.@constprop :aggressive function solve(
592592
prob::AbstractDEProblem, args...; sensealg = nothing,
593-
u0 = nothing, p = nothing, wrap = Val(true), verbose = true, kwargs...
593+
u0 = nothing, p = nothing, wrap = Val(true), verbose = DEFAULT_VERBOSE, kwargs...
594594
)
595595
if sensealg === nothing && haskey(prob.kwargs, :sensealg)
596596
sensealg = prob.kwargs[:sensealg]

0 commit comments

Comments
 (0)