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 next-build-test has been updated
via 5fc9c32351bd3eef4749095a1948eeb2735c379c (commit)
from 557ac2f43b73eb2fc3a49d1d34975559873fabee (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 -----------------------------------------------------------------
5fc9c32 tests/unit_test/disabled_tests: Disable mln_world_rgb_invert.spe test.
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 5 +++++
milena/tests/unit_test/disabled_tests | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
hooks/post-receive
--
Olena, a generic and efficient image processing platform
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 next-build-test has been updated
via 557ac2f43b73eb2fc3a49d1d34975559873fabee (commit)
via 236e8722e83acffc95360eba6b190b90519ef23d (commit)
via 0ce764d574dff94e89d7c5d1f1d0e9c010a84707 (commit)
via 8f3101526bd99273d1b71d467b044a07a8479d70 (commit)
from 63c3277770ffaa3b4e398d55abda8c5d20dc9457 (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 -----------------------------------------------------------------
557ac2f Add a new test for accu::stat:deviation.
236e872 scribo/primitive/extract/separators_nonvisible.hh: Fix warnings.
0ce764d mln/accu/stat/deviation.hh: Fix type of constructor argument.
8f31015 Remove a useless from_to overload.
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 20 ++++++++++++++++
milena/mln/accu/stat/deviation.hh | 8 ++++--
milena/mln/convert/from_to.hxx | 4 ---
milena/mln/convert/impl/from_unsigned_to_value.hh | 12 +--------
milena/tests/accu/stat/Makefile.am | 5 +++-
.../qt_rgb_to_int_u.cc => accu/stat/deviation.cc} | 25 +++++++++++++------
scribo/ChangeLog | 4 +++
.../primitive/extract/separators_nonvisible.hh | 8 ++++-
8 files changed, 58 insertions(+), 28 deletions(-)
copy milena/tests/{fun/v2v/qt_rgb_to_int_u.cc => accu/stat/deviation.cc} (75%)
hooks/post-receive
--
Olena, a generic and efficient image processing platform
---
milena/ChangeLog | 4 ++++
milena/mln/accu/stat/deviation.hh | 8 +++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index f97ab68..5ecbfb8 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,9 @@
2010-11-16 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * mln/accu/stat/deviation.hh: Fix type of constructor argument.
+
+2010-11-16 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Remove a useless from_to overload.
* mln/convert/from_to.hxx,
diff --git a/milena/mln/accu/stat/deviation.hh b/milena/mln/accu/stat/deviation.hh
index 1f15100..ca57f23 100644
--- a/milena/mln/accu/stat/deviation.hh
+++ b/milena/mln/accu/stat/deviation.hh
@@ -64,7 +64,9 @@ namespace mln
typedef T argument;
typedef M result;
- deviation(const T mean);
+ // Note: We may like to have an initial mean as precise as the
+ // sum type. So type S is prefered to type T here.
+ deviation(const S& mean);
/// Manipulators.
/// \{
@@ -89,7 +91,7 @@ namespace mln
// parameter since in the core of the deviation::take method,
// this accumulator takes data of type mln_sum(T).
accu::math::sum<mln_sum(T),S> sum_;
- T mean_;
+ S mean_;
};
@@ -120,7 +122,7 @@ namespace mln
template <typename T, typename S, typename M>
inline
- deviation<T,S,M>::deviation(const T mean)
+ deviation<T,S,M>::deviation(const S& mean)
{
init();
mean_ = mean;
--
1.5.6.5