Skip to content

Commit

Permalink
Merge pull request #107 from efiring/update_to_3_06_16
Browse files Browse the repository at this point in the history
Update to 3 06 16
  • Loading branch information
efiring authored Oct 9, 2022
2 parents 2f625a1 + 4055740 commit 6d167d7
Show file tree
Hide file tree
Showing 12 changed files with 39,968 additions and 39,700 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ repos:
- id: codespell
exclude: >
(?x)^(
.*\.c
.*\.c|
tools/fix_wrapped_ufunc_typos\.py
)$
args:
- --ignore-words-list=nin,preformed,wih,
Binary file modified gsw/tests/geo_strf_dyn_height.npy
Binary file not shown.
Binary file modified gsw/tests/geo_strf_velocity.npy
Binary file not shown.
163 changes: 120 additions & 43 deletions gsw/tests/gsw_check_functions_save.m

Large diffs are not rendered by default.

Binary file modified gsw/tests/gsw_cv_v3_0.npz
Binary file not shown.
52 changes: 26 additions & 26 deletions src/_ufuncs.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ This is python 3-only (for simplicity) to begin with.


/* 1 in, 1 out */
static void loop1d_d_d(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_d_d(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -59,8 +59,8 @@ static char types_d_d[] = {
};

/* 2 in, 1 out */
static void loop1d_dd_d(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_dd_d(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -95,8 +95,8 @@ static char types_dd_d[] = {
};

/* 3 in, 1 out */
static void loop1d_ddd_d(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_ddd_d(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -134,8 +134,8 @@ static char types_ddd_d[] = {
};

/* 4 in, 1 out */
static void loop1d_dddd_d(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_dddd_d(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -176,8 +176,8 @@ static char types_dddd_d[] = {
};

/* 5 in, 1 out */
static void loop1d_ddddd_d(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_ddddd_d(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -221,8 +221,8 @@ static char types_ddddd_d[] = {
};

/* 2 in, 2 out */
static void loop1d_dd_dd(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_dd_dd(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -261,8 +261,8 @@ static char types_dd_dd[] = {
};

/* 3 in, 2 out */
static void loop1d_ddd_dd(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_ddd_dd(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -304,8 +304,8 @@ static char types_ddd_dd[] = {
};

/* 3 in, 3 out */
static void loop1d_ddd_ddd(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_ddd_ddd(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -351,8 +351,8 @@ static char types_ddd_ddd[] = {
};

/* 6 in, 2 out */
static void loop1d_dddddd_dd(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_dddddd_dd(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -403,8 +403,8 @@ static char types_dddddd_dd[] = {
};

/* 2 in, 3 out */
static void loop1d_dd_ddd(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_dd_ddd(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -447,8 +447,8 @@ static char types_dd_ddd[] = {
};

/* 4 in, 3 out */
static void loop1d_dddd_ddd(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_dddd_ddd(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -497,8 +497,8 @@ static char types_dddd_ddd[] = {
};

/* 5 in, 3 out */
static void loop1d_ddddd_ddd(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_ddddd_ddd(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down Expand Up @@ -550,8 +550,8 @@ static char types_ddddd_ddd[] = {
};

/* 3 in, 5 out */
static void loop1d_ddd_ddddd(char **args, npy_intp const *dimensions,
npy_intp const* steps, void* data)
static void loop1d_ddd_ddddd(char **args, npy_intp *dimensions,
npy_intp* steps, void* data)
{
npy_intp i;
npy_intp n = dimensions[0];
Expand Down
Loading

0 comments on commit 6d167d7

Please sign in to comment.