This is really unexpected . I have checked two days ago with print*, individual values and it was from matrix size 4x4 all nonsense , that was in ergebnis. I could not explain it.
Many thanks for the help. The problem is solve. :-)
That's the solution I think. The Compiler thinks, that are constants, even though the keyword Parameter is missing.
On the idea that since the error might be , I would never have come.
Thank you, great work. Now it works. Very fine.
Hilf I used only for debugging, but in vain.
Can you tell me why it is in Fortran a mistake to initialize Ergebnis?
In Java the Compiler complains, then I write ergebnis+=zwischensumme, because ergebnis has no current value. So I initialize...
Thanks for the example.
But I would like to know why my function does not work. It seems to be equal to my recursive in Java. In Java it works fine. In Fortran not. I want to understand why this is so.
I have a problem.
I can only a little bit fortran. So I write a program first in Java, then I try to translate it in Fortran.
First my Java-Prgram:
public static void main(String[] args)
{
int matrix_groesse=4;
double [][] array=new double[matrix_groesse][matrix_groesse]...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.