mirror of
https://github.com/vale981/arb
synced 2025-03-04 17:01:40 -05:00
Fix typo in acb_real_abs leading to wrong results for some values
This commit is contained in:
parent
d1d510efb3
commit
480511ea08
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ acb_real_abs(acb_t res, const acb_t z, int analytic, slong prec)
|
|||
{
|
||||
acb_t t;
|
||||
acb_init(t);
|
||||
acb_neg(t, res);
|
||||
acb_neg(t, z);
|
||||
acb_union(res, z, t, prec);
|
||||
acb_clear(t);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue