Skip to content

Commit

Permalink
[Fortran] Fix compilation error from getReactionType
Browse files Browse the repository at this point in the history
  • Loading branch information
speth authored and ischoegl committed Aug 9, 2022
1 parent 6e0028e commit c35d0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fortran/cantera_kinetics.f90
Expand Up @@ -114,13 +114,13 @@ double precision function ctkin_productStoichCoeff(self, k, i)
ctkin_productstoichcoeff = kin_productstoichcoeff(self%kin_id, k, i)
end function ctkin_productstoichcoeff

integer function ctkin_getReactionType(self, i, buf)
subroutine ctkin_getReactionType(self, i, buf)
implicit none
type(phase_t), intent(inout) :: self
integer, intent(in) :: i
character*(*), intent(out) :: buf
self%err = kin_getreactiontype(self%kin_id, i, buf)
end function ctkin_getReactionType
end subroutine ctkin_getReactionType

subroutine ctkin_getFwdRatesOfProgress(self, fwdROP)
implicit none
Expand Down

0 comments on commit c35d0ee

Please sign in to comment.