Show
Ignore:
Timestamp:
11/17/09 20:55:03 (15 years ago)
Author:
smidl
Message:

Reworked epdf_harness - testing is now more general.

Corrections of existing tests.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/stat/discrete.cpp

    r723 r730  
    122122} 
    123123 
     124void grid_fnc::set_values (const epdf &ep ) { 
     125        if ( sup.points() > 0 ) { 
     126                values ( 0 ) =  exp(ep.evallog( sup.first_vec() )); 
     127                for ( int j = 1; j < sup.points(); j++ ) { 
     128                        values ( j ) = exp(ep.evallog( sup.next_vec() )); 
     129                } 
     130        } 
    124131} 
     132 
     133}