[Numpy-svn] [numpy/numpy] 8a7e7a: BUG: fixed kind specifications for parameters

GitHub noreply at github.com
Sun Nov 27 15:32:41 EST 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 8a7e7a44c194e3c748ccee0862f4ae01e371a208
      https://github.com/numpy/numpy/commit/8a7e7a44c194e3c748ccee0862f4ae01e371a208
  Author: Nick Papior <nickpapior at gmail.com>
  Date:   2016-11-27 (Sun, 27 Nov 2016)

  Changed paths:
    M numpy/f2py/crackfortran.py
    A numpy/f2py/tests/src/parameter/constant_both.f90
    A numpy/f2py/tests/src/parameter/constant_integer.f90
    A numpy/f2py/tests/src/parameter/constant_real.f90
    A numpy/f2py/tests/test_parameter.py
    M numpy/f2py/tests/test_regression.py

  Log Message:
  -----------
  BUG: fixed kind specifications for parameters

Fortran sources with parameters having kind-specifiers
where not correctly intercepted in the crackfortran.py
source.
The reason was a restrictive check for only integer specifiers
which did not split real's into the correct number.

Furthermore, several tests has been added which tests the different
kind specifiers and their use in codes, also all of them together.

Signed-off-by: Nick Papior <nickpapior at gmail.com>


  Commit: a4dca241647a31a4313238fa183b67e453c1de0f
      https://github.com/numpy/numpy/commit/a4dca241647a31a4313238fa183b67e453c1de0f
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-11-27 (Sun, 27 Nov 2016)

  Changed paths:
    M numpy/f2py/crackfortran.py
    A numpy/f2py/tests/src/parameter/constant_both.f90
    A numpy/f2py/tests/src/parameter/constant_integer.f90
    A numpy/f2py/tests/src/parameter/constant_real.f90
    A numpy/f2py/tests/test_parameter.py
    M numpy/f2py/tests/test_regression.py

  Log Message:
  -----------
  Merge pull request #8299 from zerothi/f2py-parameter

BUG: Make f2py respect kind specifications for real parameters


Compare: https://github.com/numpy/numpy/compare/dc27edb92ec7...a4dca241647a


More information about the Numpy-svn mailing list