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
RevLine 
[24307]1Index: ../trunk-jpl/src/m/classes/model.m
2===================================================================
3--- ../trunk-jpl/src/m/classes/model.m (revision 23433)
4+++ ../trunk-jpl/src/m/classes/model.m (revision 23434)
5@@ -127,8 +127,10 @@
6 %2016 October 11
7 if isa(md.esa,'double'); md.esa=esa(); end
8 %2017 February 10th
9- if md.settings.solver_residue_threshold==0,
10- md.settings.solver_residue_threshold = 1e-6;
11+ if isa(md.settings,'settings'), %this 'isa' verification: 2018 October 24th
12+ if md.settings.solver_residue_threshold==0,
13+ md.settings.solver_residue_threshold = 1e-6;
14+ end
15 end
16 %2017 April 10th
17 if isa(md.gia,'gia'), md.gia=giaivins(); end
Note: See TracBrowser for help on using the repository browser.