[vspline] 70/72: threw out BC code IGNORE, since it is really the same as ZEROPAD. Apparently, IGNORE mustn't be used in certain environments because it is occupied by something already. No problem, we don't need it anyway.

Kay F. Jahnke kfj-guest at moszumanska.debian.org
Sun Jul 2 09:02:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

kfj-guest pushed a commit to branch master
in repository vspline.

commit 58db62df62ea017391f4f4344b4ffc6e78b7ee60
Author: Kay F. Jahnke <kfjahnke at gmail.com>
Date:   Mon Jun 19 10:14:19 2017 +0200

    threw out BC code IGNORE, since it is really the same as ZEROPAD.
    Apparently, IGNORE mustn't be used in certain environments because it is
    occupied by something already. No problem, we don't need it anyway.
---
 brace.h  | 1 -
 common.h | 2 --
 filter.h | 6 +++---
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/brace.h b/brace.h
index a6e4cc5..98d251a 100644
--- a/brace.h
+++ b/brace.h
@@ -386,7 +386,6 @@ struct bracer
       {
         break ;
       }
-      case IGNORE :
       case IDENTITY :
       {
         // these modes perform no bracing, return prematurely
diff --git a/common.h b/common.h
index 76d98ea..e19c6fb 100644
--- a/common.h
+++ b/common.h
@@ -184,7 +184,6 @@ typedef enum {
   NATURAL,    ///< natural boundary conditions, f(-x) + f(x) == 2 * f(0)
   CONSTANT ,  ///< clamp. used for framing, with explicit prefilter scheme
   ZEROPAD ,   ///< used for boundary condition, bracing
-  IGNORE ,    ///< used for boundary condition, bracing
   IDENTITY ,  ///< used as solver argument, mostly internal use
   GUESS ,     ///< used with EXPLICIT scheme to keep margin errors low
   SPHERICAL , ///< use for spherical panoramas, y axis
@@ -226,7 +225,6 @@ const std::string bc_name[] =
   "NATURAL",
   "CONSTANT" ,
   "ZEROPAD" ,
-  "IGNORE" ,
   "IDENTITY" ,
   "GUESS" ,
   "SPHERICAL" ,
diff --git a/filter.h b/filter.h
index 59bbd86..9f56e8e 100644
--- a/filter.h
+++ b/filter.h
@@ -728,7 +728,7 @@ filter ( int _M ,               ///< number of input/output elements (DataLength
     _p_icc2 = & filter_type::icc_reflect<out_iter> ;
     _p_iacc = & filter_type::iacc_reflect ;
   }
-  else if ( bc == ZEROPAD || bc == IGNORE )
+  else if ( bc == ZEROPAD )
   {
     _p_icc1 = & filter_type::icc_identity<in_iter> ;
     _p_icc2 = & filter_type::icc_identity<out_iter> ;
@@ -1592,7 +1592,7 @@ public:
     int horizon = ceil ( log ( tolerance ) / log ( fabs ( pole[0] ) ) ) ;
     
     // this is just as much as we want for the filter to run up to precision
-    // starting with BC code 'IGNORE' at the margins
+    // starting with BC code 'ZEROPAD' at the margins
     
     runup = horizon ;
     
@@ -1773,7 +1773,7 @@ public:
       njobs ) ;
 
   // we now have filtered data in target, but the stripes along the magin
-  // in x-direction (1 runup wide) are wrong, because we applied IGNORE BC.
+  // in x-direction (1 runup wide) are wrong, because we applied GUESS BC.
   // this is why we have the data in 'margin', and we now copy them to the
   // relevant section of 'target'
                

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vspline.git



More information about the debian-science-commits mailing list