aboutsummaryrefslogtreecommitdiff
path: root/src/gen_chain.c
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-11-11 00:24:24 +0200
committerkartofen <mladenovnasko0@gmail.com>2022-11-11 00:24:24 +0200
commit7578a9d04b666cff3f02aa2d2c1b2cce8a3d3939 (patch)
treeaaa7b7a7aae5f893d38e649ff3001206f6c9dd5b /src/gen_chain.c
parent6516b26acec2abd862a3c1f42886e749e2dfad5c (diff)
add bigger stack fixHEADmaster
Diffstat (limited to 'src/gen_chain.c')
-rw-r--r--src/gen_chain.c6
1 files changed, 3 insertions, 3 deletions
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 <stdio.h>
#include <time.h>
+#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 },