Skip to content

Commit

Permalink
fix default linear solver in DifferentialEquations interface
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Jan 31, 2022
1 parent 2af10f2 commit 14a0f11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "VoronoiFVM"
uuid = "82b139dc-5afc-11e9-35da-9b9bdfd336f3"
authors = ["Juergen Fuhrmann <juergen.fuhrmann@wias-berlin.de>"]
version = "0.15.2-dev"
version = "0.15.2"

[deps]
DiffResults = "163ba53b-c6d8-5494-b064-1a9d43ac40c5"
Expand Down
4 changes: 2 additions & 2 deletions src/vfvm_diffeq_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Alias for [`solve(system::VoronoiFVM.AbstractSystem)`](@ref) with the correspond
tspan; solver=nothing, kwargs...)

if isnothing(solver)
solver=DiffEq.Rosenbrock23()
solver=DiffEq.Rosenbrock23(linsolve=DiffEq.KLUFactorization())
end

sys.history=DiffEqHistory()
Expand All @@ -205,7 +205,7 @@ Alias for [`solve(system::VoronoiFVM.AbstractSystem)`](@ref) with the correspond
flush!(sys.matrix)
f = DiffEq.ODEFunction(eval_rhs!,
jac=eval_jacobian!,
jac_prototype=sys.matrix,
jac_prototype=sys.matrix.cscmatrix,
mass_matrix=mass_matrix(sys))

prob = DiffEq.ODEProblem(f,vec(inival),tspan,sys)
Expand Down

2 comments on commit 14a0f11

@j-fu
Copy link
Owner Author

@j-fu j-fu commented on 14a0f11 Jan 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/53562

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.15.2 -m "<description of version>" 14a0f1199859c3438bb206a0b45b695fef3750af
git push origin v0.15.2

Please sign in to comment.