Skip to content

Commit

Permalink
docs: cleanup and fix why and how
Browse files Browse the repository at this point in the history
  • Loading branch information
fjebaker committed May 20, 2024
1 parent 2beafab commit 3f77e5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
32 changes: 0 additions & 32 deletions docs/src/examples.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/src/why-and-how.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sum(total_flux)
Doing so would allow us to only pre-allocate 2 flux arrays, instead of 4 when using the in-place variants:

```@example model_invocation
fluxes = SpectralFitting.construct_objective_cache(model, energy)
fluxes = zeros(Float64, (length(energy) - 1, 2))
flux1, flux2 = eachcol(fluxes)
invokemodel!(flux1, energy, XS_PowerLaw())
Expand Down

0 comments on commit 3f77e5b

Please sign in to comment.