Function return type mismatch
问题 I'm attempting to recode an old C++ program in Fortran to make use of LAPACK (I'm aware that C++ does have LAPACK++, but I'm having a lot of trouble installing it, so I gave up). I originally didn't have any problems with compilation, but that was when I had all variables declared as REAL . When I started coding the section of the program that required LAPACK, I found that all parameters passed to DSYEV need to be DOUBLE PRECISION . So I tried to change everything to double precision