Skip to content

Commit

Permalink
Bump crate-ci/typos from 1.19.0 to 1.20.4 (#166)
Browse files Browse the repository at this point in the history
* Bump crate-ci/typos from 1.19.0 to 1.20.4

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.19.0 to 1.20.4.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](crate-ci/typos@v1.19.0...v1.20.4)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix typo

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hendrik Ranocha <[email protected]>
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
3 people authored Apr 9, 2024
1 parent c09c4d3 commit 209118b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Check spelling
uses: crate-ci/typos@v1.19.0
uses: crate-ci/typos@v1.20.4
8 changes: 4 additions & 4 deletions src/RootedTrees.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ end
Create all splitting forests and subtrees associated to ordered subtrees of a
rooted tree `t`.
Seee also [`SplittingIterator`](@ref).
See also [`SplittingIterator`](@ref).
# References
Expand Down Expand Up @@ -1431,7 +1431,7 @@ function elementary_differential_latexstring(t::RootedTree)
return latexstring(rec_elementary_differential(t))
end

# Function used to go recursively through the RootedTree
# Function used to go recursively through the RootedTree
# to generate the elementary differential of the tree.
function rec_elementary_differential(t::RootedTree)
subtree_strings = String[]
Expand Down Expand Up @@ -1489,7 +1489,7 @@ function elementary_weight_latexstring(t::RootedTree)
return latexstring(join(substrings))
end

# Function used to go recursively through the RootedTree
# Function used to go recursively through the RootedTree
# to generate the elementary weight of the tree.
function elm_weights_rec!(t::RootedTree, last_index, a)
alphabet = copy(a)
Expand Down Expand Up @@ -1523,7 +1523,7 @@ function elm_weights_rec!(t::RootedTree, last_index, a)
indices = vcat(indices, idx)
push!(substrings, substring)
end
# Specialcase: The identical trees were the last ones
# Specialcase: The identical trees were the last ones
if tree_count > 1
if length(prev_tree.level_sequence) == 1
substrings[end] = "$(substrings[end])^{$tree_count}"
Expand Down

0 comments on commit 209118b

Please sign in to comment.