projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
259b5c3
)
categoricals: Don't warn on hash collisions.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 23 Dec 2018 18:14:28 +0000
(10:14 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 23 Dec 2018 18:54:06 +0000
(10:54 -0800)
Hash collisions are not errors.
src/math/categoricals.c
patch
|
blob
|
history
diff --git
a/src/math/categoricals.c
b/src/math/categoricals.c
index db9ff64a055d6119ddf9fcb3484a2a49604ffd67..166b54233fbf99ce24c7cc7a2232583ff76f4080 100644
(file)
--- a/
src/math/categoricals.c
+++ b/
src/math/categoricals.c
@@
-103,8
+103,6
@@
lookup_variable (const struct hmap *map, const struct variable *var, unsigned in
{
if (vn->var == var)
break;
-
- fprintf (stderr, "%s:%d Warning: Hash table collision\n", __FILE__, __LINE__);
}
return vn;
@@
-337,8
+335,6
@@
lookup_case (const struct hmap *map, const struct interaction *iact, const struc
{
if (interaction_case_equal (iact, c, iv->ccase))
break;
-
- fprintf (stderr, "Warning: Hash table collision\n");
}
return iv;