adding and testing operators on the python side

This commit is contained in:
Hans Dembinski
2017-11-08 16:38:44 +01:00
parent cba4f7796b
commit d9a792a666
29 changed files with 617 additions and 574 deletions

View File

@@ -379,6 +379,10 @@ void register_histogram() {
":returns: string representation of the histogram")
.def(python::self == python::self)
.def(python::self += python::self)
.def(python::self *= double())
.def(python::self * double())
.def(double() * python::self)
.def(python::self + python::self)
.def_pickle(serialization_suite<dynamic_histogram>());
}