toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] tag/src five_point.cpp


From: Gerhard Reitmayr
Subject: [Toon-members] tag/src five_point.cpp
Date: Thu, 23 Apr 2009 15:13:15 +0000

CVSROOT:        /cvsroot/toon
Module name:    tag
Changes by:     Gerhard Reitmayr <gerhard>      09/04/23 15:13:15

Modified files:
        src            : five_point.cpp 

Log message:
        some fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tag/src/five_point.cpp?cvsroot=toon&r1=1.9&r2=1.10

Patches:
Index: five_point.cpp
===================================================================
RCS file: /cvsroot/toon/tag/src/five_point.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- five_point.cpp      23 Apr 2009 11:54:48 -0000      1.9
+++ five_point.cpp      23 Apr 2009 15:13:15 -0000      1.10
@@ -61,6 +61,7 @@
 
        nroots = atmin - atmax;
        sbisect(num_poly, sseq, min, max, atmin, atmax, &roots[0]);
+       return roots;
 }
 
 void build_matrix(const Vector<9>& X, const Vector<9>& Y, const Vector<9>& Z, 
const Vector<9>& W, Matrix<10,20>& R);
@@ -228,7 +229,7 @@
        vector<double> roots = get_roots(n);
        vector<Matrix<3> > Es;
 
-       for(int i=0; i <roots.size(); i++)
+       for(unsigned i=0; i <roots.size(); i++)
        {
                double z = roots[i];
                




reply via email to

[Prev in Thread] Current Thread [Next in Thread]