Skip to content

Commit 815da54

Browse files
authored
5.1
FIX - wrong examples in M00ex01
2 parents 04075fc + 98b658b commit 815da54

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/latex-builder.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
- name: Install LaTex utilities
1414
run: sudo apt update && sudo apt-get install -y texlive-full
1515
- name: Get version from file
16-
run: echo "::set-output name=version::$(cat version)"
16+
run: echo "version=$(cat version)" >> $GITHUB_OUTPUT
1717
id: version
18-
- name: Build PDFs
18+
- name: Attempting to build PDFs
1919
run: make
2020
release-it:
2121
permissions:
@@ -30,10 +30,10 @@ jobs:
3030
run: sudo apt update && sudo apt-get install -y texlive-full
3131
- name: Get version from file
3232
id: get_version
33-
run: echo "VERSION=version/$(cat version)" >> $GITHUB_ENV
33+
run: echo "VERSION=$(cat version)" >> $GITHUB_OUTPUT
3434
- name: Name release from version
3535
id: get_release
36-
run: echo "RELEASE=release_$(cat version)" >> $GITHUB_ENV
36+
run: echo "RELEASE=release_$(cat version)" >> $GITHUB_OUTPUT
3737
- name: Build PDFs
3838
run: make
3939
- name: Upload PDFs archives

module05/exercises/m05ex01.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ \section*{Examples}
100100

101101
TinyStatistician().var(a)
102102
# Output:
103-
15349.3
103+
12279.439999999999
104104

105105
TinyStatistician().std(a)
106106
# Output:
107-
123.89229193133849
107+
110.81263465868862
108108
\end{minted}
109109

110110
\info{
111-
numpy uses a different definition of percentile, it does linear interpolation between the two closest list element to the percentile.
111+
Numpy uses a different definition of percentile, it does linear interpolation between the two closest list element to the percentile.
112112
Make sure to understand the difference between the population and the sample definition for the statistic metrics.
113113
}

0 commit comments

Comments
 (0)