From 6728f74bd351e760798b813745e8759aeeef01f4 Mon Sep 17 00:00:00 2001 From: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:33:00 +0200 Subject: [PATCH 1/2] Fix plotting of `ODESolution` --- Project.toml | 4 ++-- src/visualization/recipes_plots.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 48a6a6087..03114683e 100644 --- a/Project.toml +++ b/Project.toml @@ -35,7 +35,7 @@ Adapt = "3, 4" CSV = "0.10" DataFrames = "1.6" DelimitedFiles = "1" -DiffEqCallbacks = "2.25, 3" +DiffEqCallbacks = "3" FastPow = "0.1" FileIO = "1" ForwardDiff = "0.10" @@ -47,7 +47,7 @@ PointNeighbors = "0.4.2" Polyester = "0.7.10" RecipesBase = "1" Reexport = "1" -SciMLBase = "1, 2" +SciMLBase = "2.45" StaticArrays = "1" StrideArrays = "0.1" TimerOutputs = "0.5.25" diff --git a/src/visualization/recipes_plots.jl b/src/visualization/recipes_plots.jl index f434bc4f3..53b588e34 100644 --- a/src/visualization/recipes_plots.jl +++ b/src/visualization/recipes_plots.jl @@ -1,6 +1,6 @@ # Solution type when running a simulation with TrixiParticles.jl and OrdinaryDiffEq.jl const TrixiParticlesODESolution = ODESolution{<:Any, <:Any, <:Any, <:Any, <:Any, <:Any, - <:Any, + <:Any, <:Any, <:ODEProblem{<:Any, <:Any, <:Any, <:Semidiscretization}} From 2f5d84fbbe2d67cc19ac222510666a8fd9bf3f3f Mon Sep 17 00:00:00 2001 From: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:13:31 +0200 Subject: [PATCH 2/2] Allow version 2 of DiffEqCallbacks.jl to work with Julia 1.9 --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 03114683e..c632a1994 100644 --- a/Project.toml +++ b/Project.toml @@ -35,7 +35,7 @@ Adapt = "3, 4" CSV = "0.10" DataFrames = "1.6" DelimitedFiles = "1" -DiffEqCallbacks = "3" +DiffEqCallbacks = "2, 3, 4" FastPow = "0.1" FileIO = "1" ForwardDiff = "0.10" @@ -47,7 +47,7 @@ PointNeighbors = "0.4.2" Polyester = "0.7.10" RecipesBase = "1" Reexport = "1" -SciMLBase = "2.45" +SciMLBase = "2" StaticArrays = "1" StrideArrays = "0.1" TimerOutputs = "0.5.25"