Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
ndcurves
Commits
562c7b74
Commit
562c7b74
authored
Jul 24, 2020
by
Pierre Fernbach
Committed by
Guilhem Saurel
Jul 25, 2020
Browse files
[Python] remove now useless calls to register_type in python API
parent
ccf4041d
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/curves/curves_python.cpp
View file @
562c7b74
...
...
@@ -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
;
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment