summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorIan Thomas <ianthomas23@gmail.com>2020-10-27 14:34:47 +0000
committerIan Thomas <ianthomas23@gmail.com>2020-10-27 14:34:47 +0000
commit2a7d75712cdbbe9969b385df748e0c024ea7a1b7 (patch)
tree54166fae2123c3058c362dc77554d34d891c6914 /numpy/array_api/_elementwise_functions.py
parent119a0330c9cbeb13fbf8801b4f5d956659ff92cc (diff)
downloadnumpy-2a7d75712cdbbe9969b385df748e0c024ea7a1b7.tar.gz
BUG: f2py incorrectly translates dimension declarations.
In fortran functions passed to f2py, calculations that occur in the dimensions of array declarations are interpreted as floats. Valid fortran requires integers. Problem only occurs with fortran functions not subroutines as only for the former does f2py generate fortran wrapper code that fails to compile. Relevant code is in numpy.f2py.crackfortran.getlincoef(), which calculates and returns the coefficients to getarrlen() for writing to the fortran wrapper code. Fixes gh-8062.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions