Open maxnoe opened 6 years ago
This is f2py bug in "parsing" the fortran code and the place to start fixing it would be to check why the assert statement fails and work out a fix.
You can use the following workaround to continue with your project:
dcuhre.f90
, say dcuhre-mine.f90
REAL (dp), PARAMETER :: dim2w(14,5) = RESHAPE ...
from dcuhre-mine.f90
(it is local to function and f2py does not use it).f2py -h mymod.pyf -m mymod dcuhre-mine.f90
f2py -c mymod.pyf dcuhre.f90
I found out that it was the empty lines in the array declaration
Trying to wrap this integration module: https://jblevins.org/mirror/amiller/dcuhre.f90, I get the following error, I have no idea, where I need to start debugging. Any help will be appreciated.