Skip to content

Commit 4e07637

Browse files
Merge branch 'main' into latexstrings
2 parents c861eb7 + 10ca411 commit 4e07637

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ It is straightforward to install the Jupyter Book and Julia software necessary f
3434
This will install all the Jupyter Book packages required to edit and build the lectures.
3535

3636
8. Set the default interpreter for VS Code's Python extension to be the conda environment
37-
- Press `<Ctrl-Shift-P>` then `Python: Select Interpreter`
37+
- Press `<Ctrl-Shift-P>` then `Python: Select Interpreter`.
3838
- Choose the interpreter with `lecture-julia.myst` which should now be automatically activated in the terminal.
3939
- If the interpreter does not show up in the drop-down, close and reopen VS Code, then try again. Alternatively, you can run this step at the end of the setup process.
4040
- Whenever reopening VS Code, re-run `conda activate lecture-julia.myst` to ensure the environment remains active.

lectures/getting_started_julia/introduction_to_types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ x = BigFloat(1.0)
624624
function g2(x::AbstractFloat)
625625
if x > 0.0 # can't efficiently call with `x::Integer`
626626
return x + 1.0 # OK - assumes you can promote `Float64` to `AbstractFloat`
627-
otherwise
627+
else
628628
return 0 # BAD! Returns a `Int64`
629629
end
630630
end
@@ -639,7 +639,7 @@ x2 = BigFloat(-1.0)
639639
function g3(x) #
640640
if x > zero(x) # any type with an additive identity
641641
return x + one(x) # more general but less important of a change
642-
otherwise
642+
else
643643
return zero(x)
644644
end
645645
end

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ jupyter-book==0.12.3
22
sphinx-multitoc-numbering==0.1.3
33
sphinxext.rediraffe==0.2.7
44
sphinx-tojupyter==0.2.0
5-
quantecon-book-theme==0.3.1
5+
quantecon-book-theme==0.3.1

0 commit comments

Comments
 (0)