From 26defd50f3728358b23aa101aeb32871d6046c91 Mon Sep 17 00:00:00 2001 From: JordiManyer Date: Thu, 5 Dec 2024 08:49:22 +1100 Subject: [PATCH] Added changelog --- CHANGELOG.md | 10 ++++++++++ src/SolverInterfaces/ConvergenceLogs.jl | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..5aad4212 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## Previous versions + +A changelog is not maintained for older versions than 0.5.0. diff --git a/src/SolverInterfaces/ConvergenceLogs.jl b/src/SolverInterfaces/ConvergenceLogs.jl index 17839d9e..da76a963 100644 --- a/src/SolverInterfaces/ConvergenceLogs.jl +++ b/src/SolverInterfaces/ConvergenceLogs.jl @@ -64,7 +64,7 @@ end """ set_depth!(log::ConvergenceLog,depth::Int) - set_depth!(log::LinearSolver,depth::Int) + set_depth!(log::NonlinearSolver,depth::Int) Sets the tabulation depth of the convergence log `log` to `depth`. """ @@ -73,7 +73,7 @@ function set_depth!(log::ConvergenceLog,depth::Int) return log end -function set_depth!(solver::Algebra.LinearSolver,depth::Int) +function set_depth!(solver::Algebra.NonlinearSolver,depth::Int) if hasproperty(solver,:log) set_depth!(solver.log,depth) end