linreg.c: Fix typo
[pspp] / src / math / linreg.c
index be330bc40e211daa701243815e95072591c1b968..600262f6fbbddabdec66c0561ce94bd29eaa76fd 100644 (file)
@@ -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;