From d3f2bbf0e234c29159c7d7e809e88e42bf7c6865 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 15 Jun 2026 10:33:19 -0400 Subject: [PATCH] Fix docs build: import FunctionMap/Rodas4P for OrdinaryDiffEq v7 OrdinaryDiffEq v7 dropped the blanket `@reexport` and now only exports a curated set of solvers. `FunctionMap` and `Rodas4P` are no longer available via `using OrdinaryDiffEq`; they now live in the `OrdinaryDiffEqFunctionMap` and `OrdinaryDiffEqRosenbrock` subpackages. The advanced point process tutorial used both, so every `@example tpp-advanced` block downstream of the `intensity`/`integrated_intensity` definitions failed with `UndefVarError: FunctionMap not defined` / `Rodas4P not defined`, terminating the Documenter build. Add the two subpackages to the docs environment and import the specific solvers in the tutorial. This mirrors the main package, which already added OrdinaryDiffEqFunctionMap to its test dependencies for the v7 migration. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/Project.toml | 4 ++++ docs/src/applications/advanced_point_process.md | 2 ++ 2 files changed, 6 insertions(+) diff --git a/docs/Project.toml b/docs/Project.toml index 1a3fdc6fc..7f17875a6 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -7,6 +7,8 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6" JumpProcesses = "ccbc3e58-028d-4f4c-8cd5-9ae44345cda5" OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed" +OrdinaryDiffEqFunctionMap = "d3585ca7-f5d3-4ba6-8057-292ed1abd90f" +OrdinaryDiffEqRosenbrock = "43230ef6-c299-4910-a778-202eb28ce4ce" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" PointProcesses = "af0b7596-9bb0-472a-a012-63904f2b4c55" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" @@ -21,6 +23,8 @@ Documenter = "1.1" Graphs = "1.9" JumpProcesses = "9.13.2" OrdinaryDiffEq = "6.59, 7" +OrdinaryDiffEqFunctionMap = "1, 2" +OrdinaryDiffEqRosenbrock = "1, 2" Plots = "1.39" PointProcesses = "0.5" StableRNGs = "1.0" diff --git a/docs/src/applications/advanced_point_process.md b/docs/src/applications/advanced_point_process.md index 976770017..f88121875 100644 --- a/docs/src/applications/advanced_point_process.md +++ b/docs/src/applications/advanced_point_process.md @@ -363,6 +363,8 @@ to step through time one candidate at a time. ```@example tpp-advanced using OrdinaryDiffEq +using OrdinaryDiffEqFunctionMap: FunctionMap +using OrdinaryDiffEqRosenbrock: Rodas4P using Random function Base.rand(rng::AbstractRNG, pp::SciMLPointProcess)