Fix examples BAND _nbdr2 returning error info = -9
Both examples access the M matrix, so we initialize M to be the identity matrix. See #443 for discussion.
This commit is contained in:
@@ -206,6 +206,7 @@ c
|
||||
idiag = kl+ku+1
|
||||
do 30 j = 1, n
|
||||
a(idiag,j) = (4.0E+0, 0.0E+0) / h2
|
||||
m(idiag,j) = (1.0E+0, 0.0E+0)
|
||||
30 continue
|
||||
c
|
||||
c %-------------------------------------%
|
||||
|
||||
@@ -206,6 +206,7 @@ c
|
||||
idiag = kl+ku+1
|
||||
do 30 j = 1, n
|
||||
a(idiag,j) = (4.0D+0, 0.0D+0) / h2
|
||||
m(idiag,j) = (1.0D+0, 0.0D+0)
|
||||
30 continue
|
||||
c
|
||||
c %-------------------------------------%
|
||||
|
||||
Reference in New Issue
Block a user