Commit 562c7b74 authored by Pierre Fernbach's avatar Pierre Fernbach Committed by Guilhem Saurel
Browse files

[Python] remove now useless calls to register_type in python API

parent ccf4041d
......@@ -94,7 +94,6 @@ struct curve_pickle_suite : pickle_suite {
static object getstate (const Curve& curve) {
std::ostringstream os;
boost::archive::text_oarchive oa(os);
curves::serialization::register_types(oa);
oa << curve;
return str(os.str());
}
......@@ -105,7 +104,6 @@ struct curve_pickle_suite : pickle_suite {
std::string st = extract<std::string> (s)();
std::istringstream is (st);
boost::archive::text_iarchive ia (is);
curves::serialization::register_types(ia);
ia >> curve;
}
};
......
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