Changeset 26847


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

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

Location:
issm/trunk-jpl/test
Files:
2 edited

Legend:

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

    r26846 r26847  
    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)
    117 bslc_diff=round(bslc2, 16)-round(bslc, 16);
     114%need to change precision before subtraction because of differences in results
     115%at high precision under macOS versus Linux (print values of bslc and bslc2 to %verify that the difference is negligible)
     116bslc_diff=single(bslc2)-single(bslc);
    118117
    119118%Fields and tolerances to track changes
Note: See TracChangeset for help on using the changeset viewer.