Revision: 49349
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49349&view=rev
Author:   brlcad
Date:     2012-02-08 20:58:37 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
looks like i>=1 was intended given the test for i==1 inside the conditional.  
fixes cov cid 230.

Modified Paths:
--------------
    brlcad/trunk/src/tab/tabinterp.c

Modified: brlcad/trunk/src/tab/tabinterp.c
===================================================================
--- brlcad/trunk/src/tab/tabinterp.c    2012-02-08 20:54:48 UTC (rev 49348)
+++ brlcad/trunk/src/tab/tabinterp.c    2012-02-08 20:58:37 UTC (rev 49349)
@@ -883,7 +883,7 @@
            D2yi = (end*v+rrr[i]-hi1*D2yi1-s*D2yn1)/
                (diag[i]+corr);
            if (end) D2yn1 = D2yi;
-           if (i>1) {
+           if (i>=1) {
                a = 2*(hi+hi1);
                if (i==1) a += konst*hi;
                if (i==chp->c_ilen-2) a += konst*hi1;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to