From 7578a9d04b666cff3f02aa2d2c1b2cce8a3d3939 Mon Sep 17 00:00:00 2001 From: kartofen Date: Fri, 11 Nov 2022 00:24:24 +0200 Subject: add bigger stack fix --- src/gen_chain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gen_chain.c') diff --git a/src/gen_chain.c b/src/gen_chain.c index 0ad13d1..252debf 100644 --- a/src/gen_chain.c +++ b/src/gen_chain.c @@ -1,14 +1,14 @@ #include #include +#define WALK_LEN 1000000 +#define SAVE_TO_FILE_ON_WALK "files/in.txt" #define PRINT_ITEM_FREQUENCY // #define PRINT_ON_WALK -#define SAVE_TO_FILE_ON_WALK "files/in.txt" -#define WALK_LEN 10000 #define ITEM_CAP 3 -int ITEMS = 3; +int ITEMS = 3; double chain[ITEM_CAP][ITEM_CAP] = { { 0.2, 0.6, 0.2 }, { 0.3, 0.0, 0.7 }, -- cgit v1.2.3