projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed behaviour of oneway when presented with missing values
[pspp]
/
src
/
group.c
diff --git
a/src/group.c
b/src/group.c
index fb86295ba34748adf423db756d43e251ac797a38..e394745e96496d6d9fae5f8f5d8c1ee01d6f21a1 100644
(file)
--- a/
src/group.c
+++ b/
src/group.c
@@
-29,16
+29,7
@@
compare_group(const struct group_statistics *a,
const struct group_statistics *b,
int width)
{
const struct group_statistics *b,
int width)
{
- int id_cmp = compare_values(&a->id, &b->id, width);
-
- if (id_cmp == 0 )
- {
- int c;
- c= memcmp(&a->criterion,&b->criterion,sizeof(enum comparison));
- return c;
- }
- else
- return id_cmp;
+ return compare_values(&a->id, &b->id, width);
}
}