Changeset 790 for trunk/test


Ignore:
Timestamp:
Mar 10, 2007, 9:49:31 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Addresses #193. Fixing doxygen docs, and operator=.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/vector_test.cc

    r789 r790  
    116116  {
    117117    *message << "assignment operator" << std::endl;
     118    // GSL will catch the error in this test there for the GSL error
     119    // handling must be disabled until after the exception is
     120    // catched. The GSL error handler is reinstated after the
     121    // try-catch construct.
     122    gsl_error_handler_t* err_handler=gsl_set_error_handler_off();
    118123    bool exception_happens=false;
    119124    try {
     
    128133      ok=false;
    129134    }
     135    gsl_set_error_handler(err_handler);
    130136  }
    131137
Note: See TracChangeset for help on using the changeset viewer.