From a3f5c519038ec2d2ffd126e0d76277b1fa92065a Mon Sep 17 00:00:00 2001 From: hackbard Date: Sat, 10 May 2003 02:39:51 +0000 Subject: [PATCH] fixed boundary cond. bug --- ising.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/ising.c b/ising.c index e43b4be..4ff3ba8 100644 --- a/ising.c +++ b/ising.c @@ -12,19 +12,20 @@ #include #include #include + #include "dfbapi.h" #define X 200 #define Y 200 -#define MAX_T 100 +#define MAX_T 10 int main(int argc, char **argv) { unsigned char *atom; char *arg_v[4]; - char m_text[30]; - char t_text[30]; - char b_text[30]; + char m_text[64]; + char t_text[64]; + char b_text[64]; int max_x,x_c,max_y,y_c; int i; int count_p; @@ -57,21 +58,21 @@ int main(int argc, char **argv) for(T=1;T