[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] tag/tag ransac.h
From: |
Gerhard Reitmayr |
Subject: |
[Toon-members] tag/tag ransac.h |
Date: |
Tue, 30 Oct 2007 18:56:38 +0000 |
CVSROOT: /cvsroot/toon
Module name: tag
Changes by: Gerhard Reitmayr <gerhard> 07/10/30 18:56:38
Modified files:
tag : ransac.h
Log message:
64bit compatibility (size of size_t type)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tag/tag/ransac.h?cvsroot=toon&r1=1.7&r2=1.8
Patches:
Index: ransac.h
===================================================================
RCS file: /cvsroot/toon/tag/tag/ransac.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- ransac.h 12 Jun 2007 20:05:08 -0000 1.7
+++ ransac.h 30 Oct 2007 18:56:38 -0000 1.8
@@ -12,7 +12,7 @@
/// The functions are both templated on the correspondence data type and
/// the estimator for the transformation.
- template <class T> void randomTuple(const std::vector<T>& cdf,
std::vector<unsigned int>& t, T maxp) {
+ template <class T, class I> void randomTuple(const std::vector<T>& cdf,
std::vector<I>& t, T maxp) {
for (size_t i=0; i<t.size(); i++) {
try_again:
double x = drand48()* maxp;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] tag/tag ransac.h,
Gerhard Reitmayr <=