projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing comma.
[pspp]
/
src
/
math
/
percentiles.c
diff --git
a/src/math/percentiles.c
b/src/math/percentiles.c
index d00cf3e0eea4d28772f43dcd0138412d032f7e60..4b5f9c2f7aba8983c742d38df844227db22e3ae0 100644
(file)
--- a/
src/math/percentiles.c
+++ b/
src/math/percentiles.c
@@
-1,7
+1,6
@@
/* PSPP - A program for statistical analysis . -*-c-*-
Copyright (C) 2004 Free Software Foundation, Inc.
/* PSPP - A program for statistical analysis . -*-c-*-
Copyright (C) 2004 Free Software Foundation, Inc.
-Author: John Darrington 2004
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-19,18
+18,18
@@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */
#include <config.h>
02110-1301, USA. */
#include <config.h>
+#include <assert.h>
#include <libpspp/compiler.h>
#include "factor-stats.h"
#include "percentiles.h"
#include <libpspp/misc.h>
#include <libpspp/compiler.h>
#include "factor-stats.h"
#include "percentiles.h"
#include <libpspp/misc.h>
+#include "minmax.h"
+
#include "gettext.h"
#define _(msgid) gettext (msgid)
#define N_(msgid) msgid
#include "gettext.h"
#define _(msgid) gettext (msgid)
#define N_(msgid) msgid
-#include <assert.h>
-
-
struct ptile_params
{
double g1, g1_star;
struct ptile_params
{
double g1, g1_star;
@@
-39,7
+38,7
@@
struct ptile_params
};
};
-const char *ptile_alg_desc[] = {
+const char *
const
ptile_alg_desc[] = {
"",
N_("HAverage"),
N_("Weighted Average"),
"",
N_("HAverage"),
N_("Weighted Average"),
@@
-337,7
+336,7
@@
tukey_hinges(const struct weighted_value **wv,
for ( i = 0 ; i < n_data ; ++i )
{
for ( i = 0 ; i < n_data ; ++i )
{
- c_star =
min
(c_star, wv[i]->w);
+ c_star =
MIN
(c_star, wv[i]->w);
}
if ( c_star > 1 ) c_star = 1;
}
if ( c_star > 1 ) c_star = 1;