projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5204698
)
linreg.c: Fix typo
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 29 Jul 2017 05:11:06 +0000
(07:11 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 29 Jul 2017 05:11:06 +0000
(07:11 +0200)
src/math/linreg.c
patch
|
blob
|
history
diff --git
a/src/math/linreg.c
b/src/math/linreg.c
index be330bc40e211daa701243815e95072591c1b968..600262f6fbbddabdec66c0561ce94bd29eaa76fd 100644
(file)
--- 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;