diff --git a/doc/api/index.rst b/doc/api/index.rst index 385e054..7571889 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -1,6 +1,5 @@ API Reference ============= - .. toctree:: :maxdepth: 2 :caption: AML API: diff --git a/src/openalea/stat_tool/comparison.py b/src/openalea/stat_tool/comparison.py index 536470b..a444e69 100644 --- a/src/openalea/stat_tool/comparison.py +++ b/src/openalea/stat_tool/comparison.py @@ -175,7 +175,6 @@ def ComparisonTest(utype, histo1, histo2): coefficients (skewness and kurtosis coefficients). The test statistic is: .. math:: - F_{n_1-1,n_2-1} = \frac { \frac{\displaystyle\sum_{i=1}^{n_1}\left( x_{1i}-m_1 \right)^2}{n_1-1} diff --git a/src/wrapper/export_distribution.cpp b/src/wrapper/export_distribution.cpp index 1adbedc..bc76959 100644 --- a/src/wrapper/export_distribution.cpp +++ b/src/wrapper/export_distribution.cpp @@ -491,10 +491,10 @@ void class_discrete_parametric_model() "returns histogram") */ // Output - .def("get_plotable", DiscreteParametricModelWrap::get_plotable, + .def("get_plotable", DiscreteParametricModelWrap::get_plotable, return_value_policy< manage_new_object >(), "Return a plotable for a list of distribution") - .def("get_plotable", &StatInterface::get_plotable, + .def("get_plotable", &StatInterface::get_plotable, return_value_policy< manage_new_object >(), "Return a plotable (no parameters)") .def("likelihood", DiscreteParametricModelWrap::likelihood_computation,