Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed mismatched interface
  • Loading branch information
daminton committed May 13, 2021
1 parent 37a5250 commit ffdf0ad
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/modules/module_interfaces.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1581,15 +1581,10 @@ end function util_solve_linear_system

function util_minimize_bfgs(f, N, x1, eps) result(fnum)
use swiftest_globals
use lambda_function
implicit none
integer(I4B), intent(in) :: N
interface
pure function f(x) ! Objective function template
import DP
real(DP), dimension(:), intent(in) :: x
real(DP) :: f
end function f
end interface
class(lambda_obj), intent(in) :: f
real(DP), dimension(:), intent(inout) :: x1
real(DP), intent(in) :: eps
integer(I4B) :: fnum
Expand Down

0 comments on commit ffdf0ad

Please sign in to comment.