source: issm/oecreview/Archive/23390-24306/ISSM-23433-23434.diff

Last change on this file was 24307, checked in by Mathieu Morlighem, 5 years ago

NEW: adding Archive/23390-24306

File size: 700 bytes
  • ../trunk-jpl/src/m/classes/model.m

     
    127127                        %2016 October 11
    128128                        if isa(md.esa,'double'); md.esa=esa(); end
    129129                        %2017 February 10th
    130                         if md.settings.solver_residue_threshold==0,
    131                                 md.settings.solver_residue_threshold = 1e-6;
     130                        if isa(md.settings,'settings'), %this 'isa' verification: 2018 October 24th
     131                                if md.settings.solver_residue_threshold==0,
     132                                        md.settings.solver_residue_threshold = 1e-6;
     133                                end
    132134                        end
    133135                        %2017 April 10th
    134136                        if isa(md.gia,'gia'), md.gia=giaivins(); end
Note: See TracBrowser for help on using the repository browser.