Skip to content

Commit 3489f70

Browse files
committed
wrapping ctx
1 parent 920d48d commit 3489f70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/flint/types/acb_theta.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def acb_theta(acb_mat z, acb_mat tau, ulong square=False):
4343
[ [+/- 2.43e-16] + [+/- 2.43e-16]j]
4444
[ [+/- 2.43e-16] + [+/- 2.43e-16]j]
4545
[ [+/- 2.43e-16] + [+/- 2.43e-16]j]
46+
>>> prec = ctx.prec
4647
>>> ctx.prec = 10000
4748
>>> print(acb_mat([[1j, 0],[0,1j]]).theta(acb_mat([[0],[0]])).transpose().str(25))
4849
[ [1.180340599016096226045338 +/- 5.95e-26] + [+/- 1.23e-3010]j]
@@ -61,6 +62,7 @@ def acb_theta(acb_mat z, acb_mat tau, ulong square=False):
6162
[ [+/- 1.23e-3010] + [+/- 1.23e-3010]j]
6263
[ [+/- 1.23e-3010] + [+/- 1.23e-3010]j]
6364
[ [+/- 1.23e-3010] + [+/- 1.23e-3010]j]
65+
>>> ctx.prec = prec
6466
6567
"""
6668
g = tau.nrows()

0 commit comments

Comments
 (0)