Changeset 759 for trunk/test/nni_test.cc


Ignore:
Timestamp:
Feb 19, 2007, 8:41:25 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Fixes #171 and addresses #2. A few more GSL_error exceptions. Removed Jari comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/nni_test.cc

    r711 r759  
    7070  utility::matrix control(control_stream);
    7171  control-=knni.imputed_data();
    72   // Jari, should we use GSL defined round off errors? Anyway, the
    73   // hardcoded number below should be changed.
    7472  double error_bound = 5e-13;
    7573  for (unsigned int i=0; i<control.rows(); i++)
     
    106104  for (unsigned int i=0; i<control.rows(); i++)
    107105    for (unsigned int j=0; j<control.columns(); j++)
    108       // Jari, should we use GSL defined round off errors? Anyway, the
    109       // hardcoded number below should be changed.
    110106      if (fabs(control(i,j))>error_bound) {
    111107        if (print)
     
    139135  for (unsigned int i=0; i<control.rows(); i++)
    140136    for (unsigned int j=0; j<control.columns(); j++)
    141       // Jari, should we use GSL defined round off errors? Anyway, the
    142       // hardcoded number below should be changed.
    143137      if (fabs(control(i,j))>error_bound) {
    144138        if (print)
Note: See TracChangeset for help on using the changeset viewer.