projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3904f78
)
NPAR: Fix order of arguments to xnmalloc().
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 5 May 2024 18:40:40 +0000
(11:40 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 5 May 2024 18:40:42 +0000
(11:40 -0700)
src/language/commands/npar.c
patch
|
blob
|
history
diff --git
a/src/language/commands/npar.c
b/src/language/commands/npar.c
index 721a84aad83f72228380839b1497dd453b2eabf2..b044592e8f269c75caae897c334c3106958e1690 100644
(file)
--- a/
src/language/commands/npar.c
+++ b/
src/language/commands/npar.c
@@
-308,8
+308,8
@@
npar_execute (struct casereader *input,
if (specs->descriptives && specs->n_vars > 0)
{
- summary_descriptives = xnmalloc (s
izeof (*summary_descriptives)
,
- s
pecs->n_vars
);
+ summary_descriptives = xnmalloc (s
pecs->n_vars
,
+ s
izeof (*summary_descriptives)
);
npar_summary_calc_descriptives (summary_descriptives,
casereader_clone (input),