toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN::SE3<float> does not work


From: hauke strasdat
Subject: [Toon-members] TooN::SE3<float> does not work
Date: Thu, 8 Apr 2010 16:59:49 +0100

Hi,

It looks like TooN::SE3 is not generic (any more). SE3<double> works,
but SE3<float> is not working since 'double' is three times used
instead of 'Precision'. These are the three lines one needs to change:


diff -r1.27 se3.h
397c397
<       double A, B;
---
>       Precision A, B;
405c405
<               double C;
---
>               Precision C;
411c411
<                       const double inv_theta = 1.0/theta;
---
>                       const Precision inv_theta = 1.0/theta;


Cheers,
Hauke




reply via email to

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