diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 710a87d..0837e9a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,7 +15,7 @@ jobs: matrix: version: - '1.6' - - '1.10' + - '1.9' # - 'nightly' os: - ubuntu-latest diff --git a/docs/make.jl b/docs/make.jl index 0ee7813..0783e5b 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,16 +1,16 @@ -using cosmic +using Cosmic using Documenter -DocMeta.setdocmeta!(cosmic, :DocTestSetup, :(using cosmic); recursive=true) +DocMeta.setdocmeta!(Cosmic, :DocTestSetup, :(using Cosmic); recursive=true) makedocs(; modules=[cosmic], authors="Kazi Abu Rousan", - repo="https://github.com/aburousan/cosmic.jl/blob/{commit}{path}#{line}", - sitename="cosmic.jl", + repo="https://github.com/aburousan/Cosmic.jl/blob/{commit}{path}#{line}", + sitename="Cosmic.jl", format=Documenter.HTML(; prettyurls=get(ENV, "CI", "false") == "true", - canonical="https://aburousan.github.io/cosmic.jl", + canonical="https://aburousan.github.io/Cosmic.jl", edit_link="main", assets=String[], ), @@ -20,6 +20,6 @@ makedocs(; ) deploydocs(; - repo="github.com/aburousan/cosmic.jl", + repo="github.com/aburousan/Cosmic.jl", devbranch="main", ) diff --git a/docs/src/index.md b/docs/src/index.md index ffd253c..cd884ab 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -1,5 +1,5 @@ ```@meta -CurrentModule = cosmic +CurrentModule = Cosmic ``` # cosmic diff --git a/src/basic_cos.jl b/src/basic_cos.jl index f4b8812..7622003 100644 --- a/src/basic_cos.jl +++ b/src/basic_cos.jl @@ -159,7 +159,7 @@ function scalefact_part(c::AbstractFlatCosmology,t) elseif t > 2e5/1e9 && t <= 1.5e9/1e9 return (3/2)^(2/3)*(H0*t)^(2/3)*(c.Ω_m)^(1/3) else - return (1/c.Ω_Λ - 1)^(1/3)*(sinh(3*H0*t√(c.Ω_Λ)/2))^(2/3) + return cbrt(1/c.Ω_Λ - 1)*(sinh(3/2*H0*t*sqrt(c.Ω_Λ)))^(2/3) end end