In SHELLG, it seems that the U is never given any values but it used later in the code. What is the intended value of this array in this case?
U only seems to be given values if you call the entry point SHELLC, which doesn't seem ever to be called here.
Perhaps the code is assuming that the compiler will initialize U to all zeros? That's a non-standard assumptions and is not true in general (but might be true for some Fortran compilers, or maybe f2py is adding a compile flag to make that true?).
FYI
In
SHELLG
, it seems that theU
is never given any values but it used later in the code. What is the intended value of this array in this case?U
only seems to be given values if you call the entry pointSHELLC
, which doesn't seem ever to be called here.Perhaps the code is assuming that the compiler will initialize
U
to all zeros? That's a non-standard assumptions and is not true in general (but might be true for some Fortran compilers, or maybef2py
is adding a compile flag to make that true?).