Skip to content

Commit

Permalink
remove duplicate export of datastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenscholl committed Mar 17, 2021
1 parent af08f4d commit 5e69636
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions esl/economics/python_module_economics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,15 +286,10 @@ BOOST_PYTHON_MODULE(_economics)
.def("__float__", &python_price_to_floating_point)
;

class_< decltype(company::shares_outstanding) >("shares_outstanding")
class_< std::map<finance::share_class, std::uint64_t> >("shareclass_map")
.def(boost::python::map_indexing_suite<std::map<finance::share_class, std::uint64_t> > () )
;


class_< decltype(company::shareholders) >("shareholders")
.def(boost::python::map_indexing_suite<std::map<finance::share_class, std::uint64_t>>())
;

class_<std::map<finance::share_class, std::tuple<std::uint64_t, price>>>("dividends_per_share")
.def(boost::python::map_indexing_suite<std::map<finance::share_class, std::tuple<std::uint64_t, price>>>())
;
Expand Down
2 changes: 1 addition & 1 deletion esl/version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
constexpr unsigned int ESL_VERSION_MAJOR = 0;
constexpr unsigned int ESL_VERSION_MINOR = 0;
constexpr unsigned int ESL_VERSION_REVISION = 36;
constexpr unsigned int ESL_VERSION_REVISION = 37;

0 comments on commit 5e69636

Please sign in to comment.