~ubuntu-branches/ubuntu/precise/python-numpy/precise

« back to all changes in this revision

Viewing changes to numpy/f2py/tests/src/kind/foo.f90

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2012-02-11 12:55:21 UTC
  • mfrom: (7.1.9 experimental) (7.2.3 sid)
  • Revision ID: package-import@ubuntu.com-20120211125521-31q3am7pp3mvt1ho
Tags: 1:1.6.1-5ubuntu1
* debian/patches/search-multiarch-paths.patch: (LP: #818867)
  - add multiarch libdirs to numpy.distutils.system_info
* Merge from Debian unstable, remaining changes:
  - debian/patches/20_disable-plot-extension.patch
     Disable plot_directive extension, and catch ImportErrors when
     matplotlib cannot be imported, which allows us to remove
     python-matplotlib from dependencies.  This is required because
     python-numpy is in main, while python-matplotlib is in universe.
  - Build using dh_python2
    add bin/f2py* to .install files
  - keep Replaces: python-numpy (<< 1:1.3.0-4) in python-numpy-dbg
    for lucid upgrades

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
subroutine selectedrealkind(p, r, res)
 
4
  implicit none
 
5
  
 
6
  integer, intent(in) :: p, r
 
7
  !f2py integer :: r=0
 
8
  integer, intent(out) :: res
 
9
  res = selected_real_kind(p, r)
 
10
 
 
11
end subroutine
 
12
 
 
13
subroutine selectedintkind(p, res)
 
14
  implicit none
 
15
 
 
16
  integer, intent(in) :: p
 
17
  integer, intent(out) :: res
 
18
  res = selected_int_kind(p)
 
19
 
 
20
end subroutine