Changeset 400


Ignore:
Timestamp:
Apr 27, 2012, 1:15:00 PM (13 years ago)
Author:
sommeria
Message:

bug corrected in get_file_series

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_file_series.m

    r393 r400  
    1919ref_i=first_i:incr_i:last_i;
    2020ref_j=[];
    21 if isfield(Param,'first_j')
     21if isfield(Param.IndexRange,'first_j')
    2222    first_j=Param.IndexRange.first_j;
    2323    incr_j=Param.IndexRange.incr_j;
     
    6969j1_series=[];
    7070if ~isempty(ref_j)
    71     i1_series=meshgrid(ref_i,ones(size(ref_j)));
    72     j1_series=meshgrid(ref_i,ones(size(ref_j)));
     71%      i1_series=meshgrid(ref_i,ones(size(ref_j)));
     72% %     j1_series=meshgrid(ref_i,ones(size(ref_j)));
     73%     j1_series=meshgrid(ones(size(ref_i)),ref_j);
     74    [i1_series,j1_series]=meshgrid(ref_i,ref_j);
    7375end
    7476i2_series=i1_series;
Note: See TracChangeset for help on using the changeset viewer.