This is related to #135
authorJulien Langou <julien.langou@ucdenver.edu>
Thu, 23 Mar 2017 19:43:42 +0000 (15:43 -0400)
committerJulien Langou <julien.langou@ucdenver.edu>
Thu, 23 Mar 2017 19:43:42 +0000 (15:43 -0400)
commite38b42afcd22481b780cdccae45756dd3117edd8
tree98dbfa733b0eef862744f73f061107584dd3a850
parent42fe66c8488b5d7a9117e9ca72d0a563f765cd08
This is related to #135

Since the order of multiplication in Fortran is left to right, the expression
      MAXITR*N*N*UNFL
first computes MAXITR*N*N as an INTEGER. This causes INTEGER overflow for
N>=18919.

To avoid the problem, rewrite as:
      MAXITR*(N*(N*UNFL))
SRC/dbdsqr.f
SRC/sbdsqr.f