Changeset 759 for trunk/test/nni_test.cc
- Timestamp:
- Feb 19, 2007, 8:41:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/nni_test.cc
r711 r759 70 70 utility::matrix control(control_stream); 71 71 control-=knni.imputed_data(); 72 // Jari, should we use GSL defined round off errors? Anyway, the73 // hardcoded number below should be changed.74 72 double error_bound = 5e-13; 75 73 for (unsigned int i=0; i<control.rows(); i++) … … 106 104 for (unsigned int i=0; i<control.rows(); i++) 107 105 for (unsigned int j=0; j<control.columns(); j++) 108 // Jari, should we use GSL defined round off errors? Anyway, the109 // hardcoded number below should be changed.110 106 if (fabs(control(i,j))>error_bound) { 111 107 if (print) … … 139 135 for (unsigned int i=0; i<control.rows(); i++) 140 136 for (unsigned int j=0; j<control.columns(); j++) 141 // Jari, should we use GSL defined round off errors? Anyway, the142 // hardcoded number below should be changed.143 137 if (fabs(control(i,j))>error_bound) { 144 138 if (print)
Note: See TracChangeset
for help on using the changeset viewer.