Changeset 2689


Ignore:
Timestamp:
12/01/09 08:02:11 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor bug fix

Location:
issm/trunk/src/m/classes/public
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/collapse.m

    r2547 r2689  
    5151if ~isnan(md.elements_type2d)
    5252        md.elements_type=md.elements_type2d;
    53 else
    54         md.elements_type2d(:,1)=project2d(md,md.elements_type(:,1),1);
    55         md.elements_type2d(:,2)=project2d(md,md.elements_type(:,2),1);
     53elseif ~isnan(md.elements_type)
     54        md.elements_type=project2d(md,md.elements_type,1);
    5655end     
    5756md.gridonhutter=project2d(md,md.gridonhutter,1);
  • issm/trunk/src/m/classes/public/solveparallel.m

    r2605 r2689  
    2626
    2727%Do we return, or just wait for results?
    28 if md.waitonlock~=0,
     28if md.waitonlock~=0 &  ~strcmpi(options.batch,'yes'),
    2929        %we wait for the done file
    3030        islock=waitonlock(md,executionpath);
Note: See TracChangeset for help on using the changeset viewer.