https://svn.lrde.epita.fr/svn/oln/trunk/milena
Index: ChangeLog
from Ugo Jardonnet <jardonnet(a)lrde.epita.fr>
Fix mln/algebra/vec.hh (to_point).
* mln/algebra/vec.hh (to_point): Fix. Coord conversions now use
cast operator (It wasn't the case! argg).
vec.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: mln/algebra/vec.hh
--- mln/algebra/vec.hh (revision 2001)
+++ mln/algebra/vec.hh (working copy)
@@ -557,7 +557,7 @@
{
P tmp;
for (unsigned i = 0; i < P::dim; ++i)
- tmp[i] = round(v[i]);
+ tmp[i] = typename P::coord(v[i]);//round(v[i]);
return tmp;
}