From 5ef4c1ec9b3968744f155360d411bc1b7af5445f Mon Sep 17 00:00:00 2001 From: tmigot Date: Mon, 13 Mar 2023 21:00:59 +0100 Subject: [PATCH] Replace `ColoringAlgorithm` by `SparseDiffToolsColoringAlgorithm` in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2d09578b..e403a80f 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ this can be significant savings. The API for computing the colorvec vector is: ```julia -matrix_colors(A::AbstractMatrix,alg::ColoringAlgorithm = GreedyD1Color(); +matrix_colors(A::AbstractMatrix,alg::SparseDiffToolsColoringAlgorithm = GreedyD1Color(); partition_by_rows::Bool = false) ``` @@ -350,4 +350,4 @@ HesVecGrad(g,x::AbstractArray;autodiff=false) These all have the same interface, where `J*v` utilizes the out-of-place Jacobian-vector or Hessian-vector function, whereas `mul!(res,J,v)` utilizes the appropriate in-place versions. To update the location of differentiation -in the operator, simply mutate the vector `u`: `J.u .= ...`. \ No newline at end of file +in the operator, simply mutate the vector `u`: `J.u .= ...`.