toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN/internal matrix.hh


From: Tom Drummond
Subject: [Toon-members] TooN/internal matrix.hh
Date: Fri, 06 Mar 2009 13:09:43 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Tom Drummond <twd20>    09/03/06 13:09:43

Modified files:
        internal       : matrix.hh 

Log message:
        made num_rows and num_cols public within matrix

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/matrix.hh?cvsroot=toon&r1=1.9&r2=1.10

Patches:
Index: matrix.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/matrix.hh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- matrix.hh   26 Feb 2009 21:44:08 -0000      1.9
+++ matrix.hh   6 Mar 2009 13:09:43 -0000       1.10
@@ -1,12 +1,12 @@
 template <int Rows=-1, int Cols=Rows, class Precision=double, class Layout = 
RowMajor>
 class Matrix : public Layout::template Layout<Rows, Cols, Precision>
 {
-  private:
+private:
        using Layout::template Layout<Rows, Cols, Precision>::my_data;
+public:
        using Layout::template Layout<Rows, Cols, Precision>::num_rows;
        using Layout::template Layout<Rows, Cols, Precision>::num_cols;
 
-  public:
        //Use Tom's sneaky constructor hack...
                
        Matrix(){}




reply via email to

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