Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
arb:
- '2.19'
- '2.20'
c_compiler:
- gcc
c_compiler_version:
Expand All @@ -17,7 +17,7 @@ gmp:
mpfr:
- '4'
numpy:
- '1.17'
- '1.18'
pin_run_as_build:
gmp:
max_pin: x
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
arb:
- '2.19'
- '2.20'
c_compiler:
- gcc
c_compiler_version:
Expand All @@ -17,7 +17,7 @@ gmp:
mpfr:
- '4'
numpy:
- '1.17'
- '1.18'
pin_run_as_build:
gmp:
max_pin: x
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
arb:
- '2.19'
- '2.20'
c_compiler:
- gcc
c_compiler_version:
Expand All @@ -17,7 +17,7 @@ gmp:
mpfr:
- '4'
numpy:
- '1.17'
- '1.18'
pin_run_as_build:
gmp:
max_pin: x
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.19python3.7.____73_pypy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
arb:
- '2.19'
- '2.20'
c_compiler:
- gcc
c_compiler_version:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.19python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
arb:
- '2.19'
- '2.20'
c_compiler:
- gcc
c_compiler_version:
Expand Down
7 changes: 7 additions & 0 deletions .ci_support/migrations/arb220.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
__migrator:
build_number: 1
kind: version
migration_number: 1
arb:
- '2.20'
migrator_ts: 1627326412.7350254
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
arb:
- '2.19'
- '2.20'
c_compiler:
- clang
c_compiler_version:
Expand All @@ -17,7 +17,7 @@ macos_machine:
mpfr:
- '4'
numpy:
- '1.17'
- '1.18'
pin_run_as_build:
gmp:
max_pin: x
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
arb:
- '2.19'
- '2.20'
c_compiler:
- clang
c_compiler_version:
Expand All @@ -17,7 +17,7 @@ macos_machine:
mpfr:
- '4'
numpy:
- '1.17'
- '1.18'
pin_run_as_build:
gmp:
max_pin: x
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
arb:
- '2.19'
- '2.20'
c_compiler:
- clang
c_compiler_version:
Expand All @@ -17,7 +17,7 @@ macos_machine:
mpfr:
- '4'
numpy:
- '1.17'
- '1.18'
pin_run_as_build:
gmp:
max_pin: x
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_numpy1.19python3.7.____73_pypy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
arb:
- '2.19'
- '2.20'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_numpy1.19python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
arb:
- '2.19'
- '2.20'
c_compiler:
- clang
c_compiler_version:
Expand Down
24 changes: 12 additions & 12 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions recipe/doctest.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
From dcc07cf1a76043b0f1874b1e56f4736e93515db5 Mon Sep 17 00:00:00 2001
From: Jan Janssen <jan-janssen@users.noreply.github.com>
Date: Tue, 9 Feb 2021 22:22:23 +0100
Subject: [PATCH] doctest

---
src/acb_mat.pyx | 2 +-
src/arb_mat.pyx | 8 ++++----
2 file changed, 5 insertion(+), 5 deletions(-)

diff --git a/src/acb_mat.pyx b/src/acb_mat.pyx
--- a/src/acb_mat.pyx
+++ b/src/acb_mat.pyx
@@ -666,7 +666,7 @@
>>> sum(acb_mat(arb_mat.hilbert(20,20)).eig(nonstop=True))
nan + nanj
>>> showgood(lambda: sum(acb_mat(arb_mat.hilbert(20,20)).eig(nonstop=True)), parts=False)
- 2.47967321036454 + [+/- 1.48e-56]j
+ 2.47967321036454 + 0e-55j

With default options, the method only succeeds if all eigenvalues can be
isolated. Multiple (overlapping) eigenvalues can be handled by
diff --git a/src/arb_mat.pyx b/src/arb_mat.pyx
--- a/src/arb_mat.pyx
+++ b/src/arb_mat.pyx
@@ -616,10 +616,10 @@
magnitude have been replaced by exact zeros.

>>> print(arb_mat.stirling(4, 4).inv().str(5, radius=False))
- [1.0000, 0, 0, 0]
- [ 0, 1.0000, [+/- 1.20e-15], [+/- 5.00e-16]]
- [ 0, -1.0000, 1.0000, [+/- 1.67e-16]]
- [ 0, 1.0000, -3.0000, 1.0000]
+ [1.0000, 0, 0, 0]
+ [ 0, 1.0000, 0e-14, 0e-15]
+ [ 0, -1.0000, 1.0000, 0e-15]
+ [ 0, 1.0000, -3.0000, 1.0000]
>>> print(arb_mat.stirling(4, 4).inv().chop(1e-6).str(5, radius=False))
[1.0000, 0, 0, 0]
[ 0, 1.0000, 0, 0]
3 changes: 2 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ source:
sha256: 947573a0f7e92ac58c08ff43c3c949379a3329e52df93e8e2420fe8041c8cfbd
patches:
- gh9.patch
- doctest.patch

build:
number: 1005
number: 1006
skip: True # [win]
script:
- set "INCLUDE=%INCLUDE%;%LIBRARY_INC%\\flint" # [win]
Expand Down