diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2021-02-23 23:40:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2021-02-23 23:40:08 +0300 |
commit | 8d6e37d2dc1680c4eabc70e2d6f29d72a6f641df (patch) | |
tree | 461be21b25ac48c96498ecf3580f47d6176fbfae /src | |
parent | ddaa6e43181634a4bce08f25ed5ecc0c9af94998 (diff) | |
download | libgha-8d6e37d2dc1680c4eabc70e2d6f29d72a6f641df.tar.gz |
Fix warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/sle.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ int sle_solve(double *a, size_t n, double *x) { max = fabs(a[col*k + k]); index = k; for (i = k + 1; i < n; i++) { - t = abs(a[col * i + k]); + t = fabs(a[col * i + k]); if (t > max) { max = t; index = i; |