Skip to content

Commit ca41e3b

Browse files
committed
fix #296
1 parent fc5fe83 commit ca41e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SRC/sgelss.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ SUBROUTINE SGELSS( M, N, NRHS, A, LDA, B, LDB, S, RCOND, RANK,
407407
* Matrix all zero. Return zero solution.
408408
*
409409
CALL SLASET( 'F', MAX( M, N ), NRHS, ZERO, ZERO, B, LDB )
410-
CALL SLASET( 'F', MINMN, 1, ZERO, ZERO, S, 1 )
410+
CALL SLASET( 'F', MINMN, 1, ZERO, ZERO, S, MINMN )
411411
RANK = 0
412412
GO TO 70
413413
END IF

0 commit comments

Comments
 (0)