Show
Ignore:
Timestamp:
04/09/10 09:31:37 (14 years ago)
Author:
mido
Message:

cleanup of MemDS and its descendants
bdmtoolbox/CMakeLists.txt slightly changed to avoid unnecessary MEX condition
"indeces" replaced by "indices"

Files:
1 modified

Legend:

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

    r766 r896  
    4141        for ( int j = 0; j < dim; j++ ) { 
    4242                ind += dim_skips * ( inds ( j ) ); // add shift in linear index caused by this dimension 
    43                 dim_skips *= gridsizes ( j );  // indeces in the next dimension are repeated with period gridsizes(j) times greater that in this dimesion 
     43                dim_skips *= gridsizes ( j );  // indices in the next dimension are repeated with period gridsizes(j) times greater that in this dimesion 
    4444        } 
    4545        return ind;