summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Weigt <juw@posteo.de>2026-01-23 16:12:37 +0100
committerJulian Weigt <juw@posteo.de>2026-02-04 15:56:59 +0100
commitb26ec289fb517259b13b758416912363b1b2ca79 (patch)
tree26d4587cd4e191b99c2250ee4690c5bfa2682355
parentfe916c402bab77a97286a56cfe4a3992092749bb (diff)
typo
-rw-r--r--charf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/charf.c b/charf.c
index 53ab4ef..cd44884 100644
--- a/charf.c
+++ b/charf.c
@@ -157,7 +157,7 @@ void compute_maximalfunction(VALUETYPE* f, VALUETYPE* Mf, int D){
/*Generates all characteristic functions of length up N.*/
int generate_each_charf(VALUETYPE* f, index_t i){
index_t s=0;
- int d=31;
+ int d=2;
/*number of strings of length d that begin with 1*/
index_t powd = 1UL << d-1;
/*number of strings of length d that begin with 1 but are not all 1*/