[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN GR_SVD.h so2.h
From: |
Gerhard Reitmayr |
Subject: |
[Toon-members] TooN GR_SVD.h so2.h |
Date: |
Mon, 14 Nov 2011 11:55:45 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Gerhard Reitmayr <gerhard> 11/11/14 11:55:45
Modified files:
. : GR_SVD.h so2.h
Log message:
bug fix in so2 and removed warnings for nvcc
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/GR_SVD.h?cvsroot=toon&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/TooN/so2.h?cvsroot=toon&r1=1.14&r2=1.15
Patches:
Index: GR_SVD.h
===================================================================
RCS file: /cvsroot/toon/TooN/GR_SVD.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- GR_SVD.h 10 Nov 2011 21:27:40 -0000 1.7
+++ GR_SVD.h 14 Nov 2011 11:55:44 -0000 1.8
@@ -282,7 +282,7 @@
void GR_SVD<M,N,Precision,WANT_U,WANT_V>::Accumulate_LHS()
{
// Same thing; remove loop over dummy ii and do straight over i
- // Some implementations start from N here (??)
+ // Some implementations start from N here
for(int i=SmallDim-1; i>=0; --i)
{ // 500
const int l = i+1;
@@ -455,7 +455,7 @@
} // 530
// Code should never get here!
throw(0);
- return false;
+ //return false;
}
Index: so2.h
===================================================================
RCS file: /cvsroot/toon/TooN/so2.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- so2.h 29 Jun 2011 20:20:00 -0000 1.14
+++ so2.h 14 Nov 2011 11:55:44 -0000 1.15
@@ -142,8 +142,9 @@
/// @relates SO2
template <typename Precision>
inline std::istream& operator>>(std::istream& is, SO2<Precision>& rhs){
- return is >> rhs.my_matrix;
+ is >> rhs.my_matrix;
rhs.coerce();
+ return is;
}
/// Right-multiply by a Vector
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] TooN GR_SVD.h so2.h,
Gerhard Reitmayr <=