Skip to content

Commit

Permalink
Revert "use gsw_get_version somewhere sensefull :-)"
Browse files Browse the repository at this point in the history
This reverts commit f2cea8e.
  • Loading branch information
peter-urban committed Nov 11, 2024
1 parent f2cea8e commit 1123de0
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions gsw_check_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <string.h>
#include "gswteos-10.h"
#include "gsw_check_data.h"
#include "gsw_saar_data.h"


#define test_func(name, arglist, value, var) \
Expand Down Expand Up @@ -144,21 +143,14 @@ main(int argc, char **argv)
}
}

const char* gsw_version_date;
const char* gsw_version_number;
gsw_get_version(&gsw_version_date, &gsw_version_number);

printf(
"============================================================================\n"
" Gibbs SeaWater (GSW) Oceanographic Toolbox of TEOS-10 version %s (C)\n"
" Gibbs SeaWater (GSW) Oceanographic Toolbox of TEOS-10 version 3.05 (C)\n"
"============================================================================\n"
"\n"
" These are the check values for the subset of functions that have been \n"
" converted into C from the Gibbs SeaWater (GSW) Oceanographic Toolbox \n"
" of TEOS-10 (version %s, version_date: %s).\n",
gsw_version_number,
gsw_version_number,
gsw_version_date);
" of TEOS-10 (version 3.05).\n");

check_count = 1;
section_title("Practical Salinity, PSS-78");
Expand Down

0 comments on commit 1123de0

Please sign in to comment.