Commit 747e25c2 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Small fixes in Scribo.

	* scribo/debug/option_check.hh,
	* scribo/debug/option_parser.hh: Add missing includes.

	* scribo/estim/components_features.hh: Add preconditions.
parent fd644948
2011-09-06 Guillaume Lazzara <z@lrde.epita.fr>
Small fixes in Scribo.
* scribo/debug/option_check.hh,
* scribo/debug/option_parser.hh: Add missing includes.
* scribo/estim/components_features.hh: Add preconditions.
2011-09-02 Guillaume Lazzara <z@lrde.epita.fr>
Fix Makefiles in Scribo.
......
......@@ -26,7 +26,10 @@
#ifndef SCRIBO_DEBUG_OPTION_CHECK_HH
# define SCRIBO_DEBUG_OPTION_CHECK_HH
# include <string.h>
# include <cstdlib>
# include <vector>
# include <iostream>
# include <mln/core/contract.hh>
namespace scribo
......
......@@ -26,6 +26,7 @@
#ifndef SCRIBO_DEBUG_OPTION_PARSER_HH
# define SCRIBO_DEBUG_OPTION_PARSER_HH
# include <map>
# include <scribo/debug/option_check.hh>
namespace scribo
......
......@@ -77,11 +77,17 @@ namespace scribo
template <typename I, typename J, typename L>
component_set<L>
components_features(const Image<I>& input, const Image<J>& bin_input,
components_features(const Image<I>& input_, const Image<J>& bin_input_,
const component_set<L>& components)
{
trace::entering("scribo::estim::components_features");
const I& input = exact(input_);
const J& bin_input = exact(bin_input_);
mln_precondition(input.is_valid());
mln_precondition(bin_input.is_valid());
component_set<L> output = components.duplicate();
component_features_data features;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment