Changeset 26846


Ignore:
Timestamp:
02/01/22 20:28:34 (3 years ago)
Author:
jdquinn
Message:

CHG: Need to round bslc and computed bslc before subtraction due to differences on macOS vs Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/test/NightlyRun/test2011.m ΒΆ

    r26809 r26846  
    112112bslc2=-sum(dHavg.*area)*md.materials.rho_ice/md.materials.rho_water/oceanarea;
    113113
     114%need to round before subtraction because of differences in results at high
     115%precision under macOS versus Linux (print values of bslc and bslc2 to verify
     116%that the difference is negligible)
     117bslc_diff=round(bslc2, 16)-round(bslc, 16);
     118
    114119%Fields and tolerances to track changes
    115120field_names={'BarystaticIce','BarystaticIce2','BarystaticIceDiff'};
    116121field_tolerances={1e-13,1e-13,1e-13};
    117 field_values={bslc,bslc2,bslc2-bslc};
     122field_values={bslc,bslc2,bslc_diff};
Note: See TracChangeset for help on using the changeset viewer.