Skip to content

Commit 61b122d

Browse files
authored
Create SpellCheck.yml (#112)
* Create SpellCheck.yml * fix typos * bump version
1 parent 55eacf1 commit 61b122d

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

.github/workflows/SpellCheck.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Spell Check
2+
3+
on: [pull_request, workflow_dispatch]
4+
5+
jobs:
6+
typos-check:
7+
name: Spell Check with Typos
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Actions Repository
11+
uses: actions/checkout@v3
12+
- name: Check spelling
13+
uses: crate-ci/typos@v1.14.9

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RootedTrees"
22
uuid = "47965b36-3f3e-11e9-0dcf-4570dfd42a8c"
33
authors = ["Hendrik Ranocha <mail@ranocha.de> and contributors"]
4-
version = "2.18.1"
4+
version = "2.18.2"
55

66
[deps]
77
Latexify = "23fbe1c1-3f47-55db-b15f-69d7ec21a316"

src/RootedTrees.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ function all_partitions(t::RootedTree)
909909
return (; forests, skeletons)
910910
end
911911

912-
# A helper function to comute the binary representation of an integer `n` as
912+
# A helper function to compute the binary representation of an integer `n` as
913913
# a vector of `Bool`s. This is a more efficient version of
914914
# binary_digits!(digits, n) = digits!(digits, n, base=2)
915915
function binary_digits!(digits::Vector{Bool}, n::Int)
@@ -1353,7 +1353,7 @@ Thus, the rooted tree consisting whose only vertex is the root itself is
13531353
represented as `τ`. The representation of other trees is defined recursively;
13541354
if `t₁, t₂, ... tₙ` are the [`subtrees`](@ref) of the rooted tree `t`, it is
13551355
represented as `t = [t₁ t₂ ... tₙ]`. If multiple subtrees are the same, their
1356-
number of occurences is written as a power.
1356+
number of occurrences is written as a power.
13571357
13581358
# Examples
13591359

src/plots.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,31 +81,31 @@ function _plot_coordinates(t::ColoredRootedTree,
8181
# ┌ Warning: Indices Base.OneTo(9) of attribute `seriescolor` does not match data indices 3:9.
8282
# └ @ Plots ~/.julia/packages/Plots/AJMX6/src/utils.jl:132
8383
# ┌ Info: Data contains NaNs or missing values, and indices of `seriescolor` vector do not match data indices.
84-
# │ If you intend elements of `seriescolor` to apply to individual NaN-separated segements in the data,
84+
# │ If you intend elements of `seriescolor` to apply to individual NaN-separated segments in the data,
8585
# │ pass each segment in a separate vector instead, and use a row vector for `seriescolor`. Legend entries
8686
# │ may be suppressed by passing an empty label.
8787
# │ For example,
8888
# └ plot([1:2,1:3], [[4,5],[3,4,5]], label=["y" ""], seriescolor=[1 2])
8989
# ┌ Warning: Indices Base.OneTo(9) of attribute `linecolor` does not match data indices 3:9.
9090
# └ @ Plots ~/.julia/packages/Plots/AJMX6/src/utils.jl:132
9191
# ┌ Info: Data contains NaNs or missing values, and indices of `linecolor` vector do not match data indices.
92-
# │ If you intend elements of `linecolor` to apply to individual NaN-separated segements in the data,
92+
# │ If you intend elements of `linecolor` to apply to individual NaN-separated segments in the data,
9393
# │ pass each segment in a separate vector instead, and use a row vector for `linecolor`. Legend entries
9494
# │ may be suppressed by passing an empty label.
9595
# │ For example,
9696
# └ plot([1:2,1:3], [[4,5],[3,4,5]], label=["y" ""], linecolor=[1 2])
9797
# ┌ Warning: Indices Base.OneTo(9) of attribute `fillcolor` does not match data indices 3:9.
9898
# └ @ Plots ~/.julia/packages/Plots/AJMX6/src/utils.jl:132
9999
# ┌ Info: Data contains NaNs or missing values, and indices of `fillcolor` vector do not match data indices.
100-
# │ If you intend elements of `fillcolor` to apply to individual NaN-separated segements in the data,
100+
# │ If you intend elements of `fillcolor` to apply to individual NaN-separated segments in the data,
101101
# │ pass each segment in a separate vector instead, and use a row vector for `fillcolor`. Legend entries
102102
# │ may be suppressed by passing an empty label.
103103
# │ For example,
104104
# └ plot([1:2,1:3], [[4,5],[3,4,5]], label=["y" ""], fillcolor=[1 2])
105105
# ┌ Warning: Indices Base.OneTo(9) of attribute `markercolor` does not match data indices 3:9.
106106
# └ @ Plots ~/.julia/packages/Plots/AJMX6/src/utils.jl:132
107107
# ┌ Info: Data contains NaNs or missing values, and indices of `markercolor` vector do not match data indices.
108-
# │ If you intend elements of `markercolor` to apply to individual NaN-separated segements in the data,
108+
# │ If you intend elements of `markercolor` to apply to individual NaN-separated segments in the data,
109109
# │ pass each segment in a separate vector instead, and use a row vector for `markercolor`. Legend entries
110110
# │ may be suppressed by passing an empty label.
111111
# │ For example,

0 commit comments

Comments
 (0)