TEOS-10 / GSW-C

C implementation of the Thermodynamic Equation Of Seawater - 2010 (TEOS-10)
Other
18 stars 17 forks source link

Improve failure reporting in gsw_check_functions.c #54

Closed efiring closed 2 years ago

efiring commented 2 years ago

The function checking is done with arrays of inputs and outputs; this adds information to identify where in the array the worst mismatch occurred, and what the calculated versus reference values are for that location.

efiring commented 2 years ago

The test failure is expected at this point, and serves to illustrate the improvement in reporting provided by this PR.