ppradeep

January 13th, 2010, 08:05 PM

error: total size of local objects too large

void basic(float sigma,float ro,float delta,int n,float eps[10000],float Y[10000],int x)

{

int i,j,k,t=1;/*value of x need to be checked*/

float cbar,sum,a,alpha;

double M[10000][10000],b[10000][10000],A[10000][10000],H[10000][10000],C[10000][10000],P[10000],T[10000][10000];

..........

...........

}

int main()

{

basic(sigmar,ro,delta,n,eps,Y2,x);

}

void basic(float sigma,float ro,float delta,int n,float eps[10000],float Y[10000],int x)

{

int i,j,k,t=1;/*value of x need to be checked*/

float cbar,sum,a,alpha;

double M[10000][10000],b[10000][10000],A[10000][10000],H[10000][10000],C[10000][10000],P[10000],T[10000][10000];

..........

...........

}

int main()

{

basic(sigmar,ro,delta,n,eps,Y2,x);

}