https://svn.lrde.epita.fr/svn/oln/trunk/milena
Index: ChangeLog
from Ugo Jardonnet <ugo.jardonnet(a)lrde.epita.fr>
Minor fix : Translation Rotation.
* mln/fun/x2x/translation.hh,
* mln/fun/x2x/rotation.hh: Fix wrong namespaces.
* sandbox/jardonnet/virtual/access.hh: Fix concept check.
mln/fun/x2x/rotation.hh | 2 +-
mln/fun/x2x/translation.hh | 6 ++----
sandbox/jardonnet/virtual/access.hh | 2 +-
3 files changed, 4 insertions(+), 6 deletions(-)
Index: mln/fun/x2x/translation.hh
--- mln/fun/x2x/translation.hh (revision 2186)
+++ mln/fun/x2x/translation.hh (working copy)
@@ -53,10 +53,8 @@
*/
template <unsigned n, typename C>
struct translation
-
- : internal::x2x_linear_impl_< algebra::vec<n,C>, translation<n,C> >
- ,
- public Bijection_x2x< translation<n,C> >
+ : fun::internal::x2x_linear_impl_< algebra::vec<n,C>, translation<n,C>
>
+ , public Bijection_x2x< translation<n,C> >
{
typedef fun::internal::x2x_linear_impl_< algebra::vec<n,C>,
translation<n,C> > super_;
Index: mln/fun/x2x/rotation.hh
--- mln/fun/x2x/rotation.hh (revision 2186)
+++ mln/fun/x2x/rotation.hh (working copy)
@@ -53,7 +53,7 @@
*/
template <unsigned n, typename C>
struct rotation
- : internal::x2x_linear_impl_< algebra::vec<n,C>, rotation<n,C> >
+ : fun::internal::x2x_linear_impl_< algebra::vec<n,C>, rotation<n,C> >
, public Bijection_x2x< rotation<n,C> >
{
typedef fun::internal::x2x_linear_impl_< algebra::vec<n,C>, rotation<n,C>
> super_;
Index: sandbox/jardonnet/virtual/access.hh
--- sandbox/jardonnet/virtual/access.hh (revision 2186)
+++ sandbox/jardonnet/virtual/access.hh (working copy)
@@ -112,7 +112,7 @@
access(const I& img, const mln_point(I)& p,
const T& trans, const F& interp)
{
- mlc_is(T, Bijection_x2x<T>)::check();
+ mlc_is(typename T::invert, Bijection_x2x<typename T::invert>)::check();
mlc_is(F, Function_x2x<F>)::check();
return interp(img, (trans.inv())(p));