From 6abd8f3ba67ec3751fc47487c1e09cf8e8de144a Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 29 Jul 2017 07:11:06 +0200 Subject: [PATCH] linreg.c: Fix typo --- src/math/linreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/linreg.c b/src/math/linreg.c index be330bc40e..600262f6fb 100644 --- a/src/math/linreg.c +++ b/src/math/linreg.c @@ -275,7 +275,7 @@ linreg_predict (const struct linreg *c, const double *vals, size_t n_vals) size_t j; double result; - assert (n_vals = c->n_coeffs); + assert (n_vals == c->n_coeffs); if (vals == NULL || c == NULL) { return GSL_NAN; -- 2.30.2