Skip to content

Commit

Permalink
remove delete polymorph
Browse files Browse the repository at this point in the history
  • Loading branch information
boulderdaze committed Sep 28, 2023
1 parent 1223692 commit 10f8126
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions musica-fortran/src/micm/micm_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module micm
private
type(c_ptr) :: ptr
contains
procedure :: delete => delete_micm_polymorph
procedure :: delete => delete_micm
procedure :: create_solver => micm_create_solver
procedure :: solve => micm_solve
end type
Expand Down Expand Up @@ -38,12 +38,6 @@ function create_micm(config_path)
end function

subroutine delete_micm(this)
implicit none
type(micm_t) :: this
call delete_micm_c(this%ptr)
end subroutine

subroutine delete_micm_polymorph(this)
implicit none
class(micm_t) :: this
call delete_micm_c(this%ptr)
Expand Down

0 comments on commit 10f8126

Please sign in to comment.