From: John Darrington Date: Sat, 29 Jul 2017 05:11:06 +0000 (+0200) Subject: linreg.c: Fix typo X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=6abd8f3ba67ec3751fc47487c1e09cf8e8de144a linreg.c: Fix typo --- 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;