PowellOpt icon indicating copy to clipboard operation
PowellOpt copied to clipboard

add intents in abstract interface func of newuoa_module

Open Beliavsky opened this issue 1 year ago • 0 comments

I suggest that the abstract interface look as follows:

    abstract interface
    subroutine func (n, x, f)  !! calfun interface
        import :: wp
        implicit none
        integer  , intent(in)  :: n
        real (wp), intent(in)  :: x (*)
        real (wp), intent(out) :: f
    end subroutine func
    end interface

Beliavsky avatar Jul 12 '22 19:07 Beliavsky