Skip to content

Commit

Permalink
Merge pull request #137 from ArnoStrouwen/docs1.0
Browse files Browse the repository at this point in the history
docs 1.0 upgrade
  • Loading branch information
ChrisRackauckas authored Sep 16, 2023
2 parents 0ea16c6 + cd0f2b8 commit f317b06
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
ExponentialUtilities = "d4d017d3-3776-5f7e-afef-a10c40355c18"

[compat]
Documenter = "0.27"
Documenter = "1"
ExponentialUtilities = "1"
10 changes: 1 addition & 9 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,7 @@ makedocs(sitename = "ExponentialUtilities.jl",
authors = "Chris Rackauckas",
modules = [ExponentialUtilities],
clean = true, doctest = false, linkcheck = true,
strict = [
:doctest,
:linkcheck,
:parse_error,
:example_block,
:cross_references,
# Other available options are
# :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, :footnote, :meta_block, :missing_docs, :setup_block
],
warnonly = [:missing_docs, :docs_block],
format = Documenter.HTML(analytics = "UA-90474609-3",
assets = ["assets/favicon.ico"],
canonical = "https://docs.sciml.ai/ExponentialUtilities/stable/"),
Expand Down
10 changes: 6 additions & 4 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ You can also download the

```@eval
using TOML
using Markdown
version = TOML.parse(read("../../Project.toml", String))["version"]
name = TOML.parse(read("../../Project.toml", String))["name"]
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
"/assets/Manifest.toml"
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
"/assets/Manifest.toml")
```

```@raw html
Expand All @@ -125,10 +126,11 @@ link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *

```@eval
using TOML
using Markdown
version = TOML.parse(read("../../Project.toml", String))["version"]
name = TOML.parse(read("../../Project.toml", String))["name"]
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
"/assets/Project.toml"
link = Markdown.MD("https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
"/assets/Project.toml")
```

```@raw html
Expand Down
4 changes: 3 additions & 1 deletion src/exp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ end
@deprecate _exp! exponential!
@deprecate exp_generic exponential!
exponential!(A) = exponential!(A, ExpMethodHigham2005(A));
exponential!(A::GPUArraysCore.AbstractGPUArray) = exponential!(A, ExpMethodHigham2005(false));
function exponential!(A::GPUArraysCore.AbstractGPUArray)
exponential!(A, ExpMethodHigham2005(false))
end;

## The diagonalization based
"""
Expand Down
2 changes: 1 addition & 1 deletion test/gpu/gputests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ end
A_d = cu(A)

exponential!(copy(A_d)) # Make sure simple command works

# Iterate over GPU-compatible methods
for m in (ExpMethodHigham2005(false),)
@testset "GPU Exponential, $(string(m))" begin
Expand Down

0 comments on commit f317b06

Please sign in to comment.