Skip to content

Commit e80063e

Browse files
fix: fortran example (#45)
* fix: fortran example Signed-off-by: Henry Schreiner <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent edd35d6 commit e80063e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

projects/pi-fortran/pi/pi.pyf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
! -*- f90 -*-
22
! Note: the context of this file is case sensitive.
3-
pymodule pi
4-
interface
5-
subroutine estimate_pi(pi_estimated,num_trials) ! in pi/_pi.f
6-
real*8 intent(out) :: pi_estimated
7-
integer intent(in) :: num_trials
8-
end subroutine estimate_pi
9-
end interface
10-
end pymodule pi
3+
python module pi
4+
interface
5+
subroutine estimate_pi(pi_estimated,num_trials) ! in pi/_pi.f
6+
real*8 intent(out) :: pi_estimated
7+
integer intent(in) :: num_trials
8+
end subroutine estimate_pi
9+
end interface
10+
end python module pi

0 commit comments

Comments
 (0)