Skip to content

Commit

Permalink
Added changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Dec 4, 2024
1 parent ff72ecc commit 26defd5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions src/SolverInterfaces/ConvergenceLogs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
"""
Expand All @@ -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
Expand Down

0 comments on commit 26defd5

Please sign in to comment.