Skip to content

Commit cbde0ea

Browse files
committed
fix fortran
1 parent 7805319 commit cbde0ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

perf.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ real(dp) function mean(x) result(t)
6666

6767
real(dp) function std(x) result(t)
6868
real(dp), intent(in) :: x(:)
69+
integer :: n
6970
n=size(x)
7071
t = sqrt(sum(x**2)/n -(sum(x)/n)**2)
7172
end function

0 commit comments

Comments
 (0)