categoricals: Don't warn on hash collisions.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 23 Dec 2018 18:14:28 +0000 (10:14 -0800)
committerBen 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

index db9ff64a055d6119ddf9fcb3484a2a49604ffd67..166b54233fbf99ce24c7cc7a2232583ff76f4080 100644 (file)
@@ -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;