In calls to {D,S}BDSVDX in the test programs {d,s}chkbd.f, insufficient space
may be provided for the array Z i.e. WORK(IWBZ). The correction is to change
IWWORK = IWBZ + MNMIN*(MNMIN*2+1)
to
IWWORK = IWBZ + 2*MNMIN*(MNMIN+1)
on line 1146 in both files.
IWBD = IWBS + MNMIN
IWBE = IWBD + MNMIN
IWBZ = IWBE + MNMIN
- IWWORK = IWBZ + MNMIN*(MNMIN*2+1)
+ IWWORK = IWBZ + 2*MNMIN*(MNMIN+1)
MNMIN2 = MAX( 1,MNMIN*2 )
*
CALL DCOPY( MNMIN, BD, 1, WORK( IWBD ), 1 )
IWBD = IWBS + MNMIN
IWBE = IWBD + MNMIN
IWBZ = IWBE + MNMIN
- IWWORK = IWBZ + MNMIN*(MNMIN*2+1)
+ IWWORK = IWBZ + 2*MNMIN*(MNMIN+1)
MNMIN2 = MAX( 1,MNMIN*2 )
*
CALL SCOPY( MNMIN, BD, 1, WORK( IWBD ), 1 )