Destroy weights.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(optimal_weights), | intent(inout) | :: | self | Optimial weights. |
elemental subroutine destroy(self)
!< Destroy weights.
class(optimal_weights), intent(inout) :: self !< Optimial weights.
if (allocated(self%opt)) deallocate(self%opt)
endsubroutine destroy