Skip to content

Commit 07f1eb0

Browse files
committed
fix typos
1 parent 281624f commit 07f1eb0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/modsparse.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ module subroutine getpermutation64(sparse,array)
177177
integer(kind=int64),allocatable,intent(out)::array(:)
178178
end subroutine
179179
!**GET OUTPUT UNIT
180-
pure module subroutine getoutputunit() result(val)
180+
pure module function getoutputunit(sparse) result(val)
181181
class(gen_sparse),intent(in)::sparse
182182
integer(kind=int32)::val
183-
end subroutine
183+
end function
184184
!INITIATE GEN SPARSE
185185
module subroutine init_gen(sparse,namemat,dim1,dim2)
186186
class(gen_sparse),intent(inout)::sparse

src/modsparse_gen.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ module subroutine getpermutation64(sparse,array)
138138
end subroutine
139139

140140
!**GET OUTPUT UNIT
141-
pure module subroutine getoutputunit() result(val)
141+
pure module function getoutputunit(sparse) result(val)
142142
class(gen_sparse),intent(in)::sparse
143143
integer(kind=int32)::val
144144

145145
val = sparse%unlog
146-
end subroutine
146+
end function
147147

148148
!INITIATE GEN SPARSE
149149
module subroutine init_gen(sparse,namemat,dim1,dim2)

0 commit comments

Comments
 (0)