From f2b0f33496954a4a3c2bf365d5bfadea9bfa2cdc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 10 May 2019 02:40:44 +0200 Subject: [PATCH] 2d3d:: fixed Field Pattern --- fieldpattern.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/fieldpattern.cpp b/fieldpattern.cpp index c532135a..c6e5891f 100644 --- a/fieldpattern.cpp +++ b/fieldpattern.cpp @@ -9,6 +9,8 @@ namespace fieldpattern { extern int subpathid; extern int subpathorder; +#define MWDIM (WDIM+1) + bool isprime(int n) { for(int k=2; k