Skip to content

Commit

Permalink
Merge branch 'master' into dw/precision
Browse files Browse the repository at this point in the history
  • Loading branch information
kalmarek authored Apr 17, 2024
2 parents 0d37f45 + 2e24210 commit 6568db5
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
2 changes: 1 addition & 1 deletion .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: "Run CompatHelper"
run: |
import CompatHelper
CompatHelper.main()
CompatHelper.main(; subdirs=["", "docs"])
shell: julia --color=yes {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
- uses: julia-actions/setup-julia@v1
with:
version: '1.6'
version: '1'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/setup-julia@latest
- uses: julia-actions/setup-julia@v1
with:
version: '^1.6'
version: '1'
- uses: actions/checkout@v2
- name: Install JuliaFormatter and format
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![][docs-stable-img]][docs-stable-url]
[![][docs-dev-img]][docs-dev-url]
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10081694.svg)](https://doi.org/10.5281/zenodo.10081694)
[![ci](https://github.com/kalmarek/Arblib.jl/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/kalmarek/Arblib.jl/actions/workflows/ci.yml)
[![ci](https://github.com/kalmarek/Arblib.jl/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/kalmarek/Arblib.jl/actions/workflows/ci.yml?query=branch%3Amaster)
[![codecov](https://codecov.io/gh/kalmarek/Arblib.jl/graph/badge.svg?token=i1YYEc2Vht)](https://codecov.io/gh/kalmarek/Arblib.jl)

This package is a thin, efficient wrapper around
Expand Down
10 changes: 6 additions & 4 deletions src/calc_integrate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ will be given a keyword argument `analytic::Bool`, if `analytic` is
`true` then the output has to be non-finite (typically `Acb(NaN)`) if
`f` is not holomorphic on the whole input ball.
!!! Note: It's users responsibility to verify holomorphicity of `f`.
!!! note
Users are responsible for verifying holomorphicity of `f`.
Parameters:
* `take_prec` if true then `f` will be given the keyword argument
Expand All @@ -289,9 +290,10 @@ Parameters:
* `opts` a `C_NULL` (using the default options), or an instance of
`acb_calc_integrate_opt_struct` controlling the algorithmic aspects of integration.
!!! Note: `integrate` does not guarantee to satisfy provided
tolerances. But the result is guaranteed to be contained in the
resulting ball.
!!! note
`integrate` does not guarantee to satisfy provided
tolerances. But the integration result is guaranteed to be contained
in the returned ball.
For more information please consider arblib documentation and the
paper
Expand Down
5 changes: 3 additions & 2 deletions src/poly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ Similar to `p[i]` but instead of an `Arb` or `Acb` returns an `ArbRef`
or `AcbRef` which shares the memory with the `i`-th coefficient of
`p`.
!!! Note: For reading coefficients this is always safe, but if the
!!! note
Using `ref` for reading coefficients is always safe, but if the
coefficient is mutated then care has to be taken. See the comment
further down for how to handle this.
further down for how to handle mutation.
It only allows accessing coefficients that are allocated. For
`ArbPoly` and `AcbPoly` this is typically all coefficients up to the
Expand Down

0 comments on commit 6568db5

Please sign in to comment.