Skip to content

Commit b6ca36b

Browse files
committed
Merge branch 'master' into 2018A
2 parents 0cd4e97 + a0e5b36 commit b6ca36b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

applications/polpack/polselect.f

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,15 @@ SUBROUTINE POLSELECT( STATUS )
264264
CALL CAT_SELCT( CIIN, EI, INVERT, SI, NUMSEL, SIR, NUMREJ,
265265
: STATUS)
266266

267-
* Release the expression identifier.
267+
* Release the expression identifier.
268268
CALL CAT_TRLSE( EI, STATUS )
269269

270-
* The other two modes create row selection using CAT_SLIST.
270+
* The other two modes create row selection using CAT_SLIST.
271271
ELSE
272272

273+
* Initialise "no group used".
274+
IGRP = GRP__NOID
275+
273276
* Allocate work space to hold the data from the (X,Y) columns.
274277
CALL PSX_CALLOC( NROWIN*2, '_REAL', IPXY, STATUS )
275278

@@ -322,7 +325,6 @@ SUBROUTINE POLSELECT( STATUS )
322325
IF( STATUS .NE. SAI__OK ) GO TO 999
323326

324327
* Read the ARD description from the file, into a GRP group.
325-
IGRP = GRP__NOID
326328
CALL ARD_GRPEX( FILNAM, GRP__NOID, IGRP, CONT, STATUS )
327329
IF( STATUS .EQ. SAI__OK ) THEN
328330

0 commit comments

Comments
 (0)