aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-07-27 13:42:49 +0200
committerAnton Khirnov <anton@khirnov.net>2017-07-27 13:42:49 +0200
commite6be3f8851fcd578d2cdcec5d85cd96f6cc65162 (patch)
treeb6116905f8d566bcc2854ded1e97e82bd698e12a
parentbd37d6d1c90dbfb5ae882c8eb9bb779bd00962c3 (diff)
solve: fix a typo in coefficients allocation
-rw-r--r--solve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/solve.c b/solve.c
index fa527a9..bbb372c 100644
--- a/solve.c
+++ b/solve.c
@@ -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;