From 200209e2c6114bfb53bed51600b5415cc70aab2c Mon Sep 17 00:00:00 2001 From: jverzani Date: Mon, 25 Jul 2022 21:29:56 -0400 Subject: [PATCH] fix error --- CwJ/integrals/area.jmd | 2 +- quarto/integrals/area.qmd | 2 +- quarto/make_qmd.jl | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CwJ/integrals/area.jmd b/CwJ/integrals/area.jmd index 16e0580..6bf78f3 100644 --- a/CwJ/integrals/area.jmd +++ b/CwJ/integrals/area.jmd @@ -1489,7 +1489,7 @@ numericq(0.1224) When ``n=50`` what is the area of the Riemann sum? ```julia; hold=true; echo=false -numericq(0.1887) +numericq(0.1187) ``` Using `quadgk` what is the area under the curve? diff --git a/quarto/integrals/area.qmd b/quarto/integrals/area.qmd index 9c0d7dd..35777ae 100644 --- a/quarto/integrals/area.qmd +++ b/quarto/integrals/area.qmd @@ -1479,7 +1479,7 @@ When $n=50$ what is the area of the Riemann sum? ```{julia} #| hold: true #| echo: false -numericq(0.1887) +numericq(0.1187) ``` Using `quadgk` what is the area under the curve? diff --git a/quarto/make_qmd.jl b/quarto/make_qmd.jl index 68a0502..b898bf9 100644 --- a/quarto/make_qmd.jl +++ b/quarto/make_qmd.jl @@ -37,7 +37,8 @@ for DIR ∈ DIRS if ext == ".jmd" qmd_file = joinpath(DIR, fnm * ".qmd") jmd_file = joinpath(dir, f) - if true || mtime(jmd_file) > mtime(qmd_file) + if mtime(jmd_file) > mtime(qmd_file) + @show :new, qmd_file open(qmd_file, "w") do io jmd2qmd(io, jmd_file) end @@ -45,8 +46,7 @@ for DIR ∈ DIRS else _, ext = splitext(f) ext == ".toml" && continue - f == "process.jl" && continueg - @show :cp, f + f == "process.jl" && continue try force = isfile(joinpath(DIR, f)) cp(joinpath(dir,f), joinpath(DIR,f), force=force)