Skip to content

Commit

Permalink
bug fix for call to group_f in cisgr
Browse files Browse the repository at this point in the history
  • Loading branch information
dalekopera committed May 1, 2024
1 parent a9d2c72 commit 5ef1a9e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/tools/cisgr.F90
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
! THIS VERSION: CUTEST 2.2 - 2023-11-12 AT 10:30 GMT.
! THIS VERSION: CUTEST 2.3 - 2024-05-01 AT 10:15 GMT.

#include "cutest_modules.h"
#include "cutest_routines.h"
Expand Down Expand Up @@ -270,17 +270,17 @@ SUBROUTINE CUTEST_cisgr_threadsafe_r( data, work, status, n, iprob, X, &
ELSE
ICALCG( 1 ) = ig
CALL GROUP_r( work%GVALS, data%ng, work%FT, data%GPVALU, 1_ip_, &
data%ITYPEG, data%ISTGP, ICALCG, data%ltypeg, &
data%lstgp, 1_ip_, data%lcalcg, data%lgpvlu, &
.FALSE., igstat )
data%ITYPEG, data%ISTGP, ICALCG, data%ltypeg, &
data%lstgp, 1_ip_, data%lcalcg, data%lgpvlu, &
.FALSE., igstat )
IF ( igstat /= 0 ) GO TO 930

! evaluate the group derivative

CALL GROUP_r( work%GVALS, data%ng, work%FT, data%GPVALU, 1_ip_, &
data%ITYPEG, data%ISTGP, ICALCG, data%ltypeg, &
data%lstgp, 1_ip_, data%lcalcg, data%lgpvlu, &
.TRUE., igstat )
data%ITYPEG, data%ISTGP, ICALCG, data%ltypeg, &
data%lstgp, 1_ip_, data%lcalcg, data%lgpvlu, &
.TRUE., igstat )
IF ( igstat /= 0 ) GO TO 930
END IF

Expand Down Expand Up @@ -448,17 +448,17 @@ SUBROUTINE CUTEST_cisgr_threadsafe_r( data, work, status, n, iprob, X, &

ELSE
CALL GROUP_r( work%GVALS, data%ng, work%FT, data%GPVALU, ncalcg, &
data%ITYPEG, data%ISTGP, work%ICALCF, data%ltypeg, &
data%lstgp, data%lcalcf, data%lcalcg, data%lgpvlu, &
.FALSE., igstat )
data%ITYPEG, data%ISTGP, work%ICALCF, data%ltypeg, &
data%lstgp, data%lcalcf, data%lcalcg, data%lgpvlu, &
.FALSE., igstat )
IF ( igstat /= 0 ) GO TO 930

! evaluate the group derivative values.

CALL GROUP_r( work%GVALS, data%ng, work%FT, data%GPVALU, data%ng, &
data%ITYPEG, data%ISTGP, work%ICALCF, data%ltypeg, &
data%lstgp, data%lcalcf, data%lcalcg, data%lgpvlu, &
.TRUE., igstat )
CALL GROUP_r( work%GVALS, data%ng, work%FT, data%GPVALU, ncalcg, &
data%ITYPEG, data%ISTGP, work%ICALCF, data%ltypeg, &
data%lstgp, data%lcalcf, data%lcalcg, data%lgpvlu, &
.TRUE., igstat )
IF ( igstat /= 0 ) GO TO 930
END IF

Expand Down

0 comments on commit 5ef1a9e

Please sign in to comment.