Show
Ignore:
Timestamp:
08/19/09 16:54:24 (15 years ago)
Author:
vbarta
Message:

using own error macros (basically copied from IT++, but never aborting)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/math/square_mat.h

    r495 r565  
    1616 
    1717#include "../itpp_ext.h" 
     18#include "../bdmerror.h" 
    1819 
    1920namespace bdm 
     
    138139        //! Constructor 
    139140        fsqmat ( const mat &M ); 
    140         //! Constructor 
    141         fsqmat ( const fsqmat &M, const ivec &perm ) : sqmat ( M.rows() ) { 
    142                 it_error ( "not implemneted" ); 
    143         }; 
     141 
     142        /*! 
     143          Some templates require this constructor to compile, but 
     144          it shouldn't actually be called. 
     145        */ 
     146        fsqmat ( const fsqmat &M, const ivec &perm ) { 
     147                bdm_error ( "not implemented" ); 
     148        } 
     149 
    144150        //! Constructor 
    145151        fsqmat ( const vec &d ) : sqmat ( d.length() ) {