commit eb26f0cded0028d8ee3bc45666c1225a08ff07e6 parent c56148e7f901bbaf9d87eccc3c46fefae548bf9f Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu> Date: Fri, 26 Feb 2016 16:05:01 -0500 use memset to zero a bitset Diffstat:
| M | lisc/util.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisc/util.c b/lisc/util.c @@ -297,7 +297,7 @@ bsequal(BSet *a, BSet *b) void bszero(BSet *bs) { - bsdiff(bs, bs); + memset(bs->t, 0, bs->nt * sizeof bs->t[0]); } /* iterates on a bitset, use as follows