I am new to programming in fortran and am working with the numerical recipes subroutine mrqmin. It takes the following arguments:
mrqmin(x,y,sig,ndata,a,ia,ma,covar,alpha,nca,chisq,funcs,alamda)
The argument funcs is a subroutine wich I declare at the end of my program. Now, when I compile my program (with ifort) it says:
e6.f(57): error #6404: This name does not have a type, and must have an explicit type. [FUNCS]
&fgauss, alamda)
------^
compilation aborted for e6.f (code 1)
I think I am making a simple mistake or I am simply forgetting something.
What am I doing wrong?
mrqmin(x,y,sig,ndata,a,ia,ma,covar,alpha,nca,chisq,funcs,alamda)
The argument funcs is a subroutine wich I declare at the end of my program. Now, when I compile my program (with ifort) it says:
e6.f(57): error #6404: This name does not have a type, and must have an explicit type. [FUNCS]
&fgauss, alamda)
------^
compilation aborted for e6.f (code 1)
I think I am making a simple mistake or I am simply forgetting something.
What am I doing wrong?