projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added function to retrieve variable list used in linear model
[pspp]
/
src
/
language
/
data-io
/
inpt-pgm.c
diff --git
a/src/language/data-io/inpt-pgm.c
b/src/language/data-io/inpt-pgm.c
index abda6c930691ce1ddfec33447149d154200e8b56..e24c89b599c081f7f37b68239950eea82972d536 100644
(file)
--- a/
src/language/data-io/inpt-pgm.c
+++ b/
src/language/data-io/inpt-pgm.c
@@
-124,7
+124,7
@@
cmd_input_program (void)
size_t j;
value_init = var->type == NUMERIC ? INP_NUMERIC : INP_STRING;
size_t j;
value_init = var->type == NUMERIC ? INP_NUMERIC : INP_STRING;
- value_init |= var->
reinit ? INP_REINIT : INP_INIT_ONCE
;
+ value_init |= var->
leave ? INP_INIT_ONCE : INP_REINIT
;
for (j = 0; j < var->nv; j++)
inp->init[j + var->fv] = value_init;
for (j = 0; j < var->nv; j++)
inp->init[j + var->fv] = value_init;