This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch unstable/scribo has been updated
via a1c740d02538ff9dd3f68b07cd561c67af3cabdc (commit)
via d6ac69cac5c35e0a47ace3f3b749c661e4c235b0 (commit)
from d7ed1add8edcb87c4f347ad8ba4857057b3e05dc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
a1c740d tests/primitive/extract/Makefile.am: Add more files in EXTRA_DIST.
d6ac69c headers.mk, tests/unit_test/unit-tests.mk: Regen.
-----------------------------------------------------------------------
Summary of changes:
scribo/ChangeLog | 10 ++++++++++
scribo/headers.mk | 1 +
scribo/tests/primitive/extract/Makefile.am | 3 ++-
scribo/tests/unit_test/unit-tests.mk | 1 +
4 files changed, 14 insertions(+), 1 deletions(-)
hooks/post-receive
--
Olena, a generic and efficient image processing platform
* python/max-tree.py: Here.
---
swilena/ChangeLog | 6 ++++++
swilena/python/max-tree.py | 14 ++++++++++++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/swilena/ChangeLog b/swilena/ChangeLog
index e4e7625..80a3d5f 100644
--- a/swilena/ChangeLog
+++ b/swilena/ChangeLog
@@ -1,5 +1,11 @@
2012-08-28 Roland Levillain <roland(a)lrde.epita.fr>
+ Comment on an issue of Swilena highlighted by max-tree.py.
+
+ * python/max-tree.py: Here.
+
+2012-08-28 Roland Levillain <roland(a)lrde.epita.fr>
+
Update the local (build-time) Swilena Python Shell.
* python/sps-local.in (PYTHONPATH): Add `@abs_builddir@/.libs'.
diff --git a/swilena/python/max-tree.py b/swilena/python/max-tree.py
index 05dd32a..236c75d 100644
--- a/swilena/python/max-tree.py
+++ b/swilena/python/max-tree.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
-# Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE)
+# Copyright (C) 2010, 2012 EPITA Research and Development Laboratory (LRDE)
#
# This file is part of Olena.
#
@@ -37,8 +37,18 @@ for p, v in itertools.izip(ima.domain(), values):
ima.set(p, int_u8(v))
image.println("ima =", ima)
+# FIXME: The type of the (Python) object returned by this call,
+# <type 'SwigPyObject'>, is wrong. The right type should be
+# <class 'image2d_point2d.image2d_point2d'>, but the fact that the
+# routine and the result object are located in two different
+# (generated) Swilena submodules seems to confuse SWIG. A consequence
+# of this issue is that `max_tree_parent' is not usable at all, hence
+# the failure of the last line of this test. We should perhaps review
+# Swilena's design and minimize or even completely get rid of the
+# modular approach...
max_tree_parent = image.max_tree(ima, c4());
-# FIXME: Why can't we use
+
+# FIXME: Overloading issue: Why can't we use
#
# image2d_point2d.println("max_tree_parent =", max_tree_parent)
#
--
1.7.2.5