diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-07-27 13:42:49 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-07-27 13:42:49 +0200 |
commit | e6be3f8851fcd578d2cdcec5d85cd96f6cc65162 (patch) | |
tree | b6116905f8d566bcc2854ded1e97e82bd698e12a | |
parent | bd37d6d1c90dbfb5ae882c8eb9bb779bd00962c3 (diff) |
solve: fix a typo in coefficients allocation
-rw-r--r-- | solve.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ static int brill_solve_svd(const BDContext *bd, double *mat, static int brill_export_coeffs(BDPriv *s, const double *coeffs) { int alignment = REQ_ALIGNMENT(*coeffs); - int nb_coeffs_aligned[2] = { ALIGN(s->nb_coeffs[0], alignment), ALIGN(s->nb_coeffs[0], alignment) }; + int nb_coeffs_aligned[2] = { ALIGN(s->nb_coeffs[0], alignment), ALIGN(s->nb_coeffs[1], alignment) }; int ret, i; |