blob: 90751bc05999c68e63b2b24dd4a8ececfe1d0e5a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- medfilt1.cc.orig 2018-05-07 14:01:24 UTC
+++ medfilt1.cc
@@ -37,7 +37,7 @@ Created: 2015-12-13
#include "ov.h"
enum nan_handling { include_nan, omit_nan };
-enum pad_type { zero_pad, truncate };
+enum pad_type { zero_pad, truncate2 };
// Keep a sorted sliding window of values.
// There is no error checking, to keep things fast.
@@ -323,7 +323,7 @@ to bring them up to size @var{n}.\n\
if (! strcasecmp (s.c_str (), "omitnan"))
nan_flag = omit_nan;
else if (! strcasecmp (s.c_str (), "truncate"))
- padding = truncate;
+ padding = truncate2;
else if (strcasecmp (s.c_str (), "includenan")
&& strcasecmp (s.c_str (), "zeropad")) // the defaults
error ("medfilt1: Invalid NAN_FLAG or PADDING value '%s'", s.c_str ());
|