source: issm/oecreview/Archive/14312-15392/ISSM-15369-15370.diff@ 15393

Last change on this file since 15393 was 15393, checked in by Mathieu Morlighem, 12 years ago

NEW: adding Archive/14312-15392 for oecreview

File size: 735 bytes
  • TabularUnified ../trunk-jpl/src/m/classes/independent.m

     
    5959                                fielddisplay(obj,'fov_forward_indices','indices for fov_foward driver of ADOLC');
    6060                        end
    6161                end % }}}
    62                 function scalar=typetoscalar(obj) % {{{
     62                function scalartype=typetoscalar(obj) % {{{
    6363                        if strcmpi(obj.type,'scalar'),
    64                                 scalar=0;
     64                                scalartype=0;
    6565                        elseif strcmpi(obj.type,'vertex'),
    66                                 scalar=1;
     66                                scalartype=1;
     67                        elseif strcmpi(obj.type,'matrix'),
     68                                scalartype=1;
     69                        else error([obj.type ' not supported yet!']);
    6770                        end
    6871                end % }}}
    6972        end
Note: See TracBrowser for help on using the repository browser.