Changeset 550


Ignore:
Timestamp:
Mar 7, 2006, 11:58:46 AM (16 years ago)
Author:
Peter
Message:

removed assert from matrix.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/gslapi/matrix.h

    r536 r550  
    77#include <c++_tools/utility/Exception.h>
    88
    9 #include <cassert>
    109#include <gsl/gsl_matrix.h>
    1110#include <iostream>
     
    336335    ///
    337336    inline double& operator()(size_t row,size_t column)
    338     {
    339       assert(row<rows());
    340       assert(column<columns());
    341       return (*gsl_matrix_ptr(m_,row,column));
    342     }
     337    { return (*gsl_matrix_ptr(m_,row,column)); }
    343338
    344339    ///
     
    347342    ///
    348343    inline const double& operator()(size_t row,size_t column) const
    349     {       
    350       assert(row<rows());
    351       assert(column<columns());
    352       return (*gsl_matrix_const_ptr(m_,row,column));
    353     }
     344    { return (*gsl_matrix_const_ptr(m_,row,column)); }
    354345
    355346    ///
Note: See TracChangeset for help on using the changeset viewer.