Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sf2test needs specified return type #1

Open
kkauder opened this issue May 24, 2021 · 0 comments
Open

sf2test needs specified return type #1

kkauder opened this issue May 24, 2021 · 0 comments

Comments

@kkauder
Copy link

kkauder commented May 24, 2021

Compiling with gfortran 4.8.5 leas to
gfortran -c -m32 -g -fno-automatic -fdollar-ok -fno-backslash -finit-local-zero -fno-second-underscore mcdvcsv1.f -o mcdvcsv1.o
mcdvcsv1.f:372.47:
if (isel_f2qcd.eq.1) F2VAL = dble(sf2test(real(XVAL),real(Q2VAL))) 1
Error: Return type mismatch of function 'sf2test' at (1) (REAL(8)/REAL(4))
make: *** [mcdvcsv1.o] Error 1

Solved with:

 real*8 function  sf2test(xin,q2in)

in line 5173 of mcdvcsv1.f.

Note, original milou has the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant