From e6be3f8851fcd578d2cdcec5d85cd96f6cc65162 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 27 Jul 2017 13:42:49 +0200 Subject: solve: fix a typo in coefficients allocation --- solve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3