Show
Ignore:
Timestamp:
08/11/09 08:32:02 (15 years ago)
Author:
vbarta
Message:

fixed UIREGISTER

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/mpdf_test.cpp

    r492 r493  
    1 #define BDMLIB // not an ideal way to prevent double registration of UI factories... 
    21#include "base/bdmbase.h" 
    32#include "base/user_info.h" 
     
    98 
    109using namespace bdm; 
    11  
    12 template<> 
    13 const ParticularUI<mgamma> &ParticularUI<mgamma>::factory ( 
    14     ParticularUI<mgamma> ( "mgamma" ) ); 
    15  
    16 template<> 
    17 const ParticularUI<mlnorm<ldmat> > &ParticularUI<mlnorm<ldmat> >::factory ( 
    18     ParticularUI<mlnorm<ldmat> > ( "mlnorm<ldmat>" ) ); 
    19  
    20 template<> 
    21 const ParticularUI<mlnorm<chmat> > &ParticularUI<mlnorm<chmat> >::factory ( 
    22     ParticularUI<mlnorm<chmat> > ( "mlnorm<chmat>" ) ); 
    2310 
    2411TEST ( test_mepdf ) {