Skip to content

Commit bb16a51

Browse files
committed
[ gaussian_deviate.c ] Rename user_data -> private_data for consistency
1 parent 44fb960 commit bb16a51

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def read_readme():
146146
# Version 5 introduced fmpfit
147147
# Version 5.2 introduces xerror_scipy (different handling of bounded params)
148148
# Version 6 changed name to ftoolss (ftools, Stein's) for publishing to PiPY
149-
version="6.0.28",
149+
version="6.0.29",
150150
description="Small C extensions for local image filters (fmedian, fsigma)",
151151
long_description=read_readme(),
152152
long_description_content_type="text/markdown",

‎src/ftoolss/fmpfit/gaussian_deviate.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ struct GD_STRUCT_NAME
4747
* Parameters: p[0] = amplitude, p[1] = mean, p[2] = sigma
4848
*/
4949
int GD_FUNC_NAME(int m, int n, gd_real *p, gd_real *deviates,
50-
gd_real **derivs, void *user_data)
50+
gd_real **derivs, void *private_data)
5151
{
52-
struct GD_STRUCT_NAME *pdata = (struct GD_STRUCT_NAME *)user_data;
52+
struct GD_STRUCT_NAME *pdata = (struct GD_STRUCT_NAME *)private_data;
5353
int i;
5454
gd_real amp, mean, sigma;
5555
(void)n; /* Suppress unused parameter warning */

0 commit comments

Comments
 (0)