Could someone please help me debug the attached Fortran program?

I have reduced the program to just a MAIN and a subroutine.

The program reads a matrix and calculates its determinant.

I cannot understand why MAIN is not passing the matrix correctly

to the SUBROUTINE.

Any help you can provide would be greatly appreciated, thank you.

Regards,

Luis

P.S. I am attaching a screenshot with the results

More L. Augusto Sanabria's questions See All
Similar questions and discussions