projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved src/math/linreg.[ch] to src/math
[pspp-builds.git]
/
src
/
language
/
stats
/
glm.q
diff --git
a/src/language/stats/glm.q
b/src/language/stats/glm.q
index b121126545763c74439441e2d7183fb931cdcf92..f16eff76117c4e52da57f75baff887271fd32fc0 100644
(file)
--- a/
src/language/stats/glm.q
+++ b/
src/language/stats/glm.q
@@
-36,15
+36,15
@@
#include <language/dictionary/split-file.h>
#include <language/data-io/file-handle.h>
#include <language/lexer/lexer.h>
#include <language/dictionary/split-file.h>
#include <language/data-io/file-handle.h>
#include <language/lexer/lexer.h>
-#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
#include <libpspp/message.h>
#include <math/design-matrix.h>
#include <math/coefficient.h>
#include <libpspp/compiler.h>
#include <libpspp/message.h>
#include <math/design-matrix.h>
#include <math/coefficient.h>
-#include <math/linreg
/linreg
.h>
+#include <math/linreg.h>
#include <math/moments.h>
#include <output/table.h>
#include <math/moments.h>
#include <output/table.h>
+#include "xalloc.h"
#include "gettext.h"
#define GLM_LARGE_DATA 1000
#include "gettext.h"
#define GLM_LARGE_DATA 1000
@@
-251,7
+251,10
@@
run_glm (struct casereader *input,
assert (model != NULL);
if (!casereader_peek (input, 0, &c))
assert (model != NULL);
if (!casereader_peek (input, 0, &c))
- return true;
+ {
+ casereader_destroy (input);
+ return true;
+ }
output_split_file_values (ds, &c);
case_destroy (&c);
output_split_file_values (ds, &c);
case_destroy (&c);