comparison src/pr-output.cc @ 3130:02766207b74c

[project @ 1998-01-25 08:27:23 by jwe]
author jwe
date Sun, 25 Jan 1998 08:27:25 +0000
parents 38684be52a3e
children 45490c020e47
comparison
equal deleted inserted replaced
3129:4061d67231a8 3130:02766207b74c
111 pr_max_internal (const Matrix& m) 111 pr_max_internal (const Matrix& m)
112 { 112 {
113 int nr = m.rows (); 113 int nr = m.rows ();
114 int nc = m.columns (); 114 int nc = m.columns ();
115 115
116 double result = DBL_MIN; 116 double result = -DBL_MAX;
117 117
118 for (int j = 0; j < nc; j++) 118 for (int j = 0; j < nc; j++)
119 for (int i = 0; i < nr; i++) 119 for (int i = 0; i < nr; i++)
120 { 120 {
121 double val = m (i, j); 121 double val = m (i, j);