Younes
11-06-2003, 11:11 AM
I have a pretty simple optimization program, but I get
very annoying errors that I cannot explain.
I declare variables as follows:
Double Precision D1(NMAX1,NMAX1),D2(NMAX2,NMAX2)
Of course all the mentioned parameters are declared. My
program does not work properly if I leave my declaration like this,
but if I write :
Double Precision D2(NMAX2,NMAX2),D1(NMAX1,NMAX1)
then it DOES work, HOW CAN THAT BE ??!?!?!?
By changing the order nothing really changes.
Since my program gets bigger, I need to declare more variables
and I am in big trouble cause I don't know how to declare
the variables so it runs properly. Does anybody know, why
this happens ?
very annoying errors that I cannot explain.
I declare variables as follows:
Double Precision D1(NMAX1,NMAX1),D2(NMAX2,NMAX2)
Of course all the mentioned parameters are declared. My
program does not work properly if I leave my declaration like this,
but if I write :
Double Precision D2(NMAX2,NMAX2),D1(NMAX1,NMAX1)
then it DOES work, HOW CAN THAT BE ??!?!?!?
By changing the order nothing really changes.
Since my program gets bigger, I need to declare more variables
and I am in big trouble cause I don't know how to declare
the variables so it runs properly. Does anybody know, why
this happens ?